Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 46981

Re: Use netconsole to troubleshoot uBoot without a serial cable

$
0
0
Finally got it to boot.

With the GoFlex still powered on, I removed the flash drive and placed it in my laptop just to verify the partition info.Then I plugged it back into the GoFlex.

From the Marvell>> prompt, I issued a "usb tree" command, and found that usb service wasn't started. So I started it by "usb start", and it found my drive. Then I did a "usb tree" again just to verify, then issued "usb storage" and "usb dev" just for kicks. Then issued "boot".

I then saw it found the /boot/uImage and /boot/uInitrd files, and it said it was booting the kernel image. I then used Wireshark to see what it did on the network - it got a dhcp lease from the wireless router (I'm in temporary corporate housing during a move and don't have admin access to the wifi router...)

So now that I'm in via ssh and have a root shell, what info do you need to see so I can save the firmware environment to nand?

Found this problem:

root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
root@debian:~#

Viewing all articles
Browse latest Browse all 46981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>