HI All,
I have built custom zImage and am335-boneblack.dtb file together with
u-boot and its associated files.
The problem I am having is getting u-boot to automatically boot Linux
kernel image from SD Card using the uEnv.txt file. I have partitioned my SD
card into 2 part, first partition contains FAT partition while the second
is an ext4 . The first partition contains the following files
1. u-boot.img
2. MLO
3. zImage
4. am335x-boneblack.dtb
5. uEnv.txt
I am not currently using the second partition as I am using nfs for the
root files system. The problem is that when I halt the u-boot boot process
and it drop to the "u-boot command prompt". l can enter the flowing
commands manually
- setenv serverip 192.168.1.100
- setenv ipaddr 192.168.1.101
- setenv npath /home/onio/rootfs
- setenv bootargs console=ttyO0,115200 root=/dev/nfs rw
nfsroot=${serverip}:${npath} ip=${ipaddr}
- saveenv
- fatload mmc 0:1 0x80200000 zImage
- fatload mmc 0:1 0x80f00000 am335x-boneblack.dtb
- bootz 0x80200000 - 0x80f00000
*The "serverip" is the IP address of my development PC and ipaddr is the IP
address of the beaglebone black. The root file system is located in the
following path /home/myuser/rootfs on the development PC.*
As previously mentioned I can enter the above commands at the u-boot prompt
and the board would boot to Linux command prompt. I want to avoid the
process of entering this data manually and get u-boot to do the loading and
booting of the board using the u-env.txt file. If my understanding is
correct u-boot should be able to perform this process automatically.
Many thanks in advance.
Regards
onio
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/df1c8168-554e-406b-abbb-609da1dcedbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.