Quantcast
Channel: Debian on Shuttle KD20 (PLX OXNAS 7821)
Viewing all articles
Browse latest Browse all 141

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Hey, so I tried to understand what is causing exectly the kernel panic.

What I think is the core of the Problem:

void __iomem *port_base[SATA_OXNAS_MAX_PORTS];
void __iomem *sgdma_base[SATA_OXNAS_MAX_PORTS];

Here you get with max_ports=2 an array of 2. And thow I have to write an Array and only a number.

So I tried to change this
ata@45900000 {
		compatible = "plxtech,nas782x-sata";
			/*	port		sgdma		core	*/
		reg = <0x45900000 0x100>, <0x459B0000 0x10>, <0x459E0000 0x2000>,
			/*	phy		descriptors (optional)	*/
			<0x44900000 0x0C>, <0x50000000 0x1000>;
		interrupts = <0 18 0x304>;
		clocks = <&stdclk 4>;
		resets = <&rst 11>, <&rst 12>, <&rst 13>;
		reset-names = "sata", "link", "phy";
		status = "disabled";
	};
to this
ata@45900000 {
		compatible = "plxtech,nas782x-sata";
			/*	port		sgdma		core	*/
		reg = <0x45900000,0x45910000 0x100>, <0x459B0000,0x459B0010 0x10>, <0x459E0000 0x2000>,
			/*	phy		descriptors (optional)	*/
			<0x44900000 0x0C>, <0x50000000 0x1000>;
		interrupts = <0 18 0x304>;
		clocks = <&stdclk 4>;
		resets = <&rst 11>, <&rst 12>, <&rst 13>;
		reset-names = "sata", "link", "phy";
		status = "disabled";
	};

To give write an array, but I got syntax errors. :-(

I've not an idea how the device tree writes into an array in this file. And I don't found a helpfull manual to this.

Maybe someone have an idea or a link, that is helpfull

Viewing all articles
Browse latest Browse all 141

Trending Articles