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

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Peacemaker Wrote:
-------------------------------------------------------
> Okay, load things from usb will not work, from
> sata you can load data.
How can i load this file from sata?

Tftp in the same network like omninas(have still static IP) and gw have similar problem...

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Or perhaps try to direct connect the kd20 to the tftpserver (without any switch, router or so in between), I have read that these errors comes often from half/full duplex or routing problems.

I tried to load files from sata but tftp, was more suitible for me.

You need to active IDE via ide reset if its not done allready, then you can load from ext2 via ext2load.
I don't remember the actual syntax, but I think google might help.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
@Peacemaker

Ok, this device has a problem with full support 1Gbps speed and when the server tftp serve file with full speed omninas drop packet.. After change interface speed to 100M FD everything works fine :)

I had booted from usb flash drive debian from your sources but i did not saved nand parameters permanently.
Unfortunately after restart i cannot communicate via console... Restart does not solve problem..
Anybody knows what was the problem??

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Okay, didn't know this with 1Gbit problem, with my Netgear switch + TFTP on PogoE02 both Gbit, its working most of the time, but I have seen sometimes these errors as well.

Okay, what console do you talking about, SSH, Serial/UART? I have seen that sometimes after rebooting Uboot did not activate the Ethernet. But I've not figured out so far, as debian loads it.

As I hadn't much time last wek & focused on a full SATA Boot, USB 3.0 & Cardreader didn't make any progress execpt, Cardreader might connect to USB 3.0 or I2C, but I haven't figured out yet.

For full SATA boot I'm a bit stucked as well, but may be I'll open for this a ne topic in the Uboot section here.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
I wrote about Serial/UART. After connecting serial cable between UART converter and omninas conector on the console i do not see any boot information...
It's looks like failure port in omninas...:/ I tried to use another serial converter, but is not working too..:/

Any idea?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Peacemaker,

> As I hadn't much time last wek & focused on a full
> SATA Boot, USB 3.0 & Cardreader didn't make any
> progress execpt, Cardreader might connect to USB
> 3.0 or I2C, but I haven't figured out yet.
>
> For full SATA boot I'm a bit stucked as well, but
> may be I'll open for this a ne topic in the Uboot
> section here.

I would like to see if I can suggest some ideas, but lost tracks with where you are. Perhaps you can update the 1st post to show serial console log of u-boot and kernel booting? It would be a good summary of where you are and what problems remained. Great for others looking for info about this device.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Jacq,
are you still able to boot into debian and access via ssh?
If you can do this, maybe you can print out the env of uboot.
fw_printenv

If you are not able to do this, you can boot into uboot via SATA and reflash your Uboot, if you need to do this I'll upload a files for this and a manual.


Bodhi,
I have already on my list to update 1. post, but had not so much time the last week to make propper updated post.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
@Peacemaker

Unfortunately I do not have access via ssh.

> If you are not able to do this, you can boot into uboot via SATA and reflash your Uboot, if you need to do this I'll upload a files for this and a manual.

How can I do it?

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

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
I cannot start linux on my omninas. Uboot is not booting...

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Okay, that is really strange.

The SATA-boot is a real fail save boot. It should boot, not Linux but Uboot.

I got the script from this thread: http://archlinuxarm.org/forum/viewtopic.php?f=55&t=6193

It even is working with these files but Uboot is then more buggy.

So redownload the file I uploaded, prepare a hhd & try again. And make sure you uses the right sata port or just try on both!

edit.:
Upps I just saw I uploaded the overclocked version. Maybe you have "monday" ram on your board and can't use 875mhz (mine works even with 915mhz)

But I'll fix this and upload a 800mhz version

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
@Peacemaker
Are you sure that your suggestion should be working when i have not work console...?
How can I verify results without console?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Okay, am I right here:
You have connected at first a Serial/UART and you somehow messed up something ( Uboot, stage1,..).
and you can't get a console over UART now.

So if you load everything from SATA (Stage1 & Uboot), then you shoud get uboot, stage1 and so UART back to live.

If you cant get UART back to live this way there are not so much things to investigate.

1. Check if you did everything correct with the sata boot disk(Script, right port/bay,..)

2. If boot disk is ok UART is the problem here: Check if every contact still in good shape, if you got an other device with uart check if its working there, check if baudrate and so on is still correct,...

If you didn't find an error: check again as far as I know If you do not physical damage the board, I see no possible way to brick the rescue boot as this is integradet in the SoC

Btw.: Is your kd20 still beeping after power it up?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
@Peacemaker
I prepared disk with only one partition(with ext3 file system) using your script and i have put disk into right bay.

> Btw.: Is your kd20 still beeping after power it up?
Yes and blue power button changed color to red.

Console still don't work...

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Okay, my fault:

1. Beeping and Red color is a good sign as your Uboot is running normal. Do you get this by trying to start from sata & nand or only from sata?

2. I forget that the UBoot even from sata try's to load env's from nand and maybe there is the problem.

Two options:
1. I'll try to figure out a "better" Sata Uboot so really every thing is load from sata

2. Normaly Uboot trys to load an uImage from tftp as "backup", if loading form nand failed.
You need a dhcp with that gives the oxnas the tftp server address and you have to name the uImage just "uImage"

NAND read: device 0 offset 0x240000, size 0x280000

Reading data from 0x4bf800 -- 100% complete.
 2621440 bytes read: OK
## Booting image at 60500000 ...
Bad Magic Number
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 42
DHCP client bound to address 192.168.0.177
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.0.100; our IP address is 192.168.0.177
Filename 'uImage'.
Load address: 0x60500000

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
@Peacemaker,

> @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

As I mentioned, I've lost track of what you have done on this device. So instead of rereading the posts, I'll wait till you have the boot log posted to see if I have any idea why certain thing is not working.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
bodhi Wrote:
-------------------------------------------------------
> @Peacemaker,
>
> > @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
>
> As I mentioned, I've lost track of what you have
> done on this device. So instead of rereading the
> posts, I'll wait till you have the boot log posted
> to see if I have any idea why certain thing is not
> working.

:-) This was not a " come on and look over my posts". For the Uboot probs there will be a own thread with everything is needed

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
I configure dhcp and tftp server option, but omninas did not try to get ip from this server....
Any idea?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Okay, not too bad as it realy looks you messed up your env's

I updated the SATA Uboot, with env's from sata -> please try again with updated files.

Here the link again:
KD20_sata_boot.tar.gz

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Now power button blink on violet/red.
Nas get up from dhcp, but no response on icmp..
Console still not working...
Viewing all 141 articles
Browse latest View live