Debian on Shuttle KD20 (PLX OXNAS 7821) September 20, 2014 05:46AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 20, 2014 06:23AM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 20, 2014 11:57AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 20, 2014 06:35PM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 21, 2014 08:22AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 21, 2014 12:40PM |
Registered: 9 years ago Posts: 143 |
OX820 # ide reset Reset IDE: Bus 0: OK Device 0: Model: SAMSUNG HD204UI Firm: 1AQ10001 Ser#: S2H7J9CB207281 Type: Hard Disk Supports 48-bit addressing Capacity: 1907729.0 MB = 1863.0 GB (-387938128 x 512) OX820 # fatload ide 0:1 64000000 uImage_2.6.32_fake reading uImage_2.6.32_fake 3011344 bytes read in 412 ms (7 MiB/s) OX820 # bootm 64000000 ## Booting kernel from Legacy Image at 64000000 ... Image Name: Linux-2.6.32.fake+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3011280 Bytes = 2.9 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... Bad Data CRC
OX820 # nand read.e 0x60500000 840000 300000 NAND read: device 0 offset 0x840000, size 0x300000 NAND read from offset 840000 failed -74 0 bytes read: ERROR
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 21, 2014 03:35PM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 22, 2014 09:51AM |
Registered: 11 years ago Posts: 232 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 22, 2014 10:48AM |
Registered: 9 years ago Posts: 143 |
Quote
So did you compile either mine or kref's u-boot? if you did, try to regenerate your Linux-2.6.32.fake+ uImage with tools/mkimage from that u-boot build. This error usually caused by a badly generated uImage (file system was not sync properly, nfs timeout, mismatched checksum,…). If you don't have 2013.10 u-boot mkimage, I'll post the binary here.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 22, 2014 11:17AM |
Admin Registered: 13 years ago Posts: 18,554 |
> OX820 # ide reset > > Reset IDE: Bus 0: OK > Device 0: Model: SAMSUNG HD204UI Firm: 1AQ10001 > Ser#: S2H7J9CB207281 > Type: Hard Disk > Supports 48-bit addressing > Capacity: 1907729.0 MB = 1863.0 GB > (-387938128 x 512) > OX820 # fatload ide 0:1 64000000 > uImage_2.6.32_fake > reading uImage_2.6.32_fake > 3011344 bytes read in 412 ms (7 MiB/s) > OX820 # bootm 64000000 > ## Booting kernel from Legacy Image at 64000000 > ... > Image Name: Linux-2.6.32.fake+ > Image Type: ARM Linux Kernel Image > (uncompressed) > Data Size: 3011280 Bytes = 2.9 MiB > Load Address: 60008000 > Entry Point: 60008000 > Verifying Checksum ... Bad Data CRC >
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 22, 2014 11:29AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 22, 2014 11:35AM |
Registered: 11 years ago Posts: 232 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 22, 2014 11:42AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 23, 2014 02:24PM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 23, 2014 03:45PM |
Registered: 11 years ago Posts: 232 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 23, 2014 11:32PM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 24, 2014 05:19AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 24, 2014 09:41AM |
Registered: 11 years ago Posts: 232 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 24, 2014 11:14AM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 24, 2014 11:32AM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 25, 2014 11:52AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 25, 2014 03:28PM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 26, 2014 04:03AM |
Registered: 9 years ago Posts: 143 |
RStage-1 Bootloader 2014-09.24-14:52:42 Attempting to set PLLA to 875MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00348000 plla_ctrl2 : 0x0068008B plla_ctrl3 : 0x000000F8 PLLA Set Setup memory, testing Reading disk 00 Sector : 0x0000009A Hdr len: 0x00027E98 Hdr CRC: 0xF55097E9 OK _ _ _ _ | | | | | | | | ___| |__ _ _| |_| |_| | ___ / __| '_ \| | | | __| __| |/ _ \ \__ \ | | | |_| | |_| |_| | __/ |___/_| |_|\__,_|\__|\__|_|\___| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| U-Boot 1.1.2 (May 2 2012 - 21:38:52) U-Boot code: 60D00000 -> 60D27E98 BSS: -> 60D3ABC0 IRQ Stack: 60cddf7c FIQ Stack: 60cdcf7c RAM Configuration: Bank #0: 60000000 256 MB SRAM Configuration: 64KB at 0x50000000 NAND:128 MiB In: serial Out: serial Err: serial Setting Linux mem= boot arg value Hit any key to stop autoboot: 0 Boot Menu ============================================================================== 0: Enter Command Line Interface 1: Reboot 2: Start the Kernel Code T: GPIO Test Function => Select: Shuttle>> idereset Unknown command 'idereset' - try 'help' Shuttle>> ide reset Reset IDE: Detecting SATA busses: Bus 0: No devices found Shuttle>>
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 26, 2014 09:12AM |
Registered: 11 years ago Posts: 232 |
>> printenv >> help
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 26, 2014 11:04AM |
Registered: 9 years ago Posts: 143 |
Somethink like this is are my thoughts as well, as I got within the compiling with only sata boot enable an error:Quote
My immediate thought is that your recompiled uboot doesn't have the necessary options to enable the power lines?
/u-boot-vendor/u-boot-256M/u-boot/board/oxnas/ox820.c:178: undefined reference to `sata_power_control' make: *** [u-boot] Fehler 1With sata & nand enablend I dont get an compiling error. But I dont have any Idea how to fix this error.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 27, 2014 04:32PM |
Admin Registered: 13 years ago Posts: 18,554 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 28, 2014 09:50AM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 28, 2014 04:01PM |
Admin Registered: 13 years ago Posts: 18,554 |
Quote
Overall I'm not quite happy with the patched Kernel 2.6:
But Krefs Oxnas Kernel works well with the .dts from the openwrt-oxnas-projekt, but only with one sata port.
So as I'd like to use both sata, and have not a clue how to activate the 2 ports ( just change the emmu form maxports form 1 to 2 dont work :-| ) or add the old sata driver to the 3.1X kernel. The kernel is jet not the right for my purpose.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 28, 2014 04:36PM |
Registered: 9 years ago Posts: 143 |
Re: Debian on Shuttle KD20 (PLX OXNAS 7821) September 28, 2014 04:43PM |
Admin Registered: 13 years ago Posts: 18,554 |
./arch/arm/boot/dts/ox820.dtsi sata@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"; };