Hi,
I am trying to boot the file-system by means USB0 port at the OMAPL137 EVM. I have followed instructions from http://processors.wiki.ti.com/index.php/Creating_filesystems_on_removable_media. So, I got kernel built from DaVinci-PSP-SDK-03.20.00.14 and u-boot as well.
At the USB, I did two partitions, one for kernel and the other for FS. Besides, first partition has FAT16 type whereas second partition has LINUX. Both of them seem to be generated without problems.
Respect to file-system, I had to copy the Montavista file-system embedded in the SD Card. This copy was done by means following command:
sudo rsync -avx --progress /media/SDCARD/ /media/USB_PARTITION_FS
I think it is one of the safest procedures to do this kind of operations.
Everything goes ok so far. Then, I configure the environment variables at uboot to boot through USB:
//Check if USB is alive and which devices are on
usb reset
//Load the kernel image to memory
fatload usb 0:1 0xC0700000 uimage
setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=off root=/dev/sda2 rootfstype=ext2 mem=32M
Kernel is read without problems, but when the OS is loading, it failed trying to look for the /dev/sda2. I got next message:
VFS: Cannot open root device "sda2" or unknown-block
What else can I do?Maybe, would I have to modify any kernel/u-boot options? Or does anyone know any method to obtain the file-system directly, easily?
Any suggestion or advise would be appreciated!! Thanks in advance
Regards
Óscar