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
Okay, here it is:
SATA-Uboot

Its a modified version of Warheads SATA rescue for the pogoplug, so most of the cedits to him :-)


What you got to do:

1. Connect a SATA disk to your Linux.
2. Find the disk (/dev/sdX)
3. Modify the disk_create script. Correct the /dev/sdX in second line to your system and uncomment it.
4. Make the script executable.
5. Check if you choose the right disk & execute the script as root and sync.
sudo ./disk_create
sync
6. Put the disk in the right port of your KD20
7. Press the on button & it sould start an Uboot and trys to load Kernel & uInitrd from Nand.
Stage-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

Device 0: 128MiB 3,3V 8-bit, sector size 128 KB

NAND read: device 0 offset 0x840000, size 0x350000

Reading data from 0xb8f800 -- 100% complete.
 3473408 bytes read: OK
....

Jacq, here you can interrupt the boot process and backup your Stage1 and Uboot via tftp.


@bodhi here is as well my problem, I've no idea why Uboot doesn't load up the harddrives. If I choose a newer Uboot (this is the vendors Uboot). I's not working anything (as the original Stage1 can't load fat partition or ext4) or only one disk with only 128mb ram or these sort of thinks

Viewing all articles
Browse latest Browse all 141

Trending Articles