I have to run my own u-boot loader instead of default u-boot loader of BeagleBone Black
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have to run my own u-boot loader instead of default u-boot loader of BeagleBone Black
Hello,
I am trying to run my own u-boot.img on BeagleBone Black black.
1) i was create u-boot.img file and MLO file.
2) my memory card partition look like this:
Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8a445f4c
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 34815 32768 16M 4 FAT16 <32M
/dev/mmcblk0p2 34816 15523839 15489024 7.4G 83 Linux
3) i am put u-boot.img file and MLO file in first partition of memory card.
4)put memory card into BeagleBone Black. and restart the BB.
5)but its not working .........
i think i do some small mistake and i cant find that mistake.
if you got where i mistake then please let me know or if know proper steps of how to done this task or if know any other way to do this then also please let me know .............
A suggestion might be to try using a standard disk with their defaults, all formatted and verify that it loads correctly, and then just replace the u-boot.img with your new one and see if it boots, or starts to boot. From what I see, you're doing the most normal things.
For me it's been a while at using a BBB, and back when I did it had a switch or jumper to make it boot off of uSD, however it always seemed to boot off of the SD if there was one. So I didn't understand the boot jumper settings. There were also cases where it would not boot off of the SD, but other hardware versions would. These are like the A2 and B series from a couple of years ago.
Sorry I know that's not too helpful. My initial advice is to verify working and booting off of standard load first and then just try changing the u-boot.img file with your own.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.