On Thursday, 21 December 2017 11:00:00 UTC, onio wrote:
>
> 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. I can halt the u-boot boot process which causes it  to 
> drop to the *u-boot command prompt* at which point I can then enter the 
> following 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
>    
>
> 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 uEnv.txt file. If my 
> understanding is correct u-boot should be able to perform this process 
> automatically. 
>
> Many thanks in advance.
>
> Regards
>
> onio
>
> NB:
> *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/onio/rootfs on the development PC.*
>
>

-- 
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/15c4ce9d-8c4b-4482-8e11-ee3469ff80f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to