Re: [beagleboard] Modifying the BBB boot so that it doesnt boot from the microSD when inserted

2017-10-12 Thread Robert Nelson
On Mon, Oct 9, 2017 at 3:18 AM, 'Luther Goh Lu Feng' via BeagleBoard
 wrote:
> I understand that even though BBB boots from the eMMC first, if a bootable
> microSD is inserted, it will boot from the microSD[1]. I believe uboot is
> responsible for this behaviour and would like modify uboot.
>
> - How would I go about doing it?
> - Is it a matter of modifying uEnv.txt or a recompilation of uBoot?
> - If it is the earlier, then what is the path of uEnv.txt? Is it /uEnv.txt
> or /boot/uEnv.txt[2]?

BootRom, "boot" order:

1: eMMC
2: microSD

U-Boot, "scan" order:

Scan microSD for:

1: /uEnv.txt
2: /boot/uEnv.txt

Scan eMMC for:

3: /uEnv.txt
4: /boot/uEnv.txt

So.. don't have either /uEnv.txt or /boot/uEnv.txt in your microSD..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjfJ5V%2Bhn0xwkKdnhCY6TRie%3DBMJZn67eLnfaa0uo7Cyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Modifying the BBB boot so that it doesnt boot from the microSD when inserted

2017-10-09 Thread 'Luther Goh Lu Feng' via BeagleBoard
I understand that even though BBB boots from the eMMC first, if a bootable 
microSD is inserted, it will boot from the microSD[1]. I believe uboot is 
responsible for this behaviour and would like modify uboot. 

- How would I go about doing it? 
- Is it a matter of modifying uEnv.txt or a recompilation of uBoot?
- If it is the earlier, then what is the path of uEnv.txt? Is it /uEnv.txt or 
/boot/uEnv.txt[2]?


[1] https://groups.google.com/d/msg/beagleboard/laUYQg80MZg/PuOY_Lt9CgAJ
[2] http://cholla.mmto.org/bbb/network_boot.html 

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/48121448.4032048.1507537124738%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.