Show Posts
|
|
Pages: [1]
|
|
2
|
Linux Stuff / Kernel / Re: Booting from USB drive.
|
on: April 13, 2009, 10:33:04 AM
|
|
I did try booting uImage from SD, it fails. For USB the interface name is 'usb', it is supposed to be 'mmc' for the sd card however trying to load the uImage using either fatload mmc or ext2load mmc fails so am not sure if the support is there at that stage of the boot. I did read somewhere that like usb start the equivalent command for sd is mmcinit, however I am not able to run it.
|
|
|
|
|
3
|
Linux Stuff / Kernel / Re: Included uImage too large to write to NAND
|
on: April 13, 2009, 10:31:17 AM
|
|
@axman5389,
I have had exactly the same problem, it is something to do with the length of what is loaded. I experimented by loading the uImage from a USB and tftp server and then running it with root as the flash drive and it loads perfectly in that case. Also, I noticed that flash is named in the docs differently than what some of the other posters have booted with.
to get around it till someone figures out the problem, I have been booting the uImage from USB and mounting the root on the USB drive as well. I had posted how I had done that in another thread. USB seems pretty fast.
|
|
|
|
|
6
|
Linux Stuff / Kernel / Re: Booting from USB drive.
|
on: April 11, 2009, 01:28:28 PM
|
|
If you wish to boot the uImage from the USB Drive rather than inbuilt flash this is what I used:
set bootcmd 'usb start; fatload usb 0:1 0x8000000 uImage.sheeva.20090319;bootm 0x8000000' set bootargs 'console=ttyS0,115200 root=/dev/sda2 rootdelay=10'
I have two partitions on my USB Drive, the first one is a FAT partition and contains the uImage file and the second is a ext partition containing the root filesystem
This way I can test custom kernels rather than flash it everytime.
|
|
|
|
|