Can someone point me to the instructions on how to put debian on an sd card and make it always boot from the SD?
⌠i read that as always boot no matter whatâŚ
Hardware wiseâŚ
uSD boot button is tied to SYS_BOOT2/LCD_DATA2
Are you using the Video output?
If NOT, then just Ground P8.43 which is SYS_BOOT2/LCD_DATA2
If you are using the Video Output, then youâll need to do something custom in the softwareâŚ
Software wise, if your not use the eMMC, just erase it with ddâŚ
If you are using the eMMC, make sure MLO/u-boot.dtb are not installed to itâŚ
If none of those apply, please be more verbose on what you need doneâŚ
Regards,
Specifically I am looking for instructions on how to put the latest preferred version of debian for BBB (not the IOT version) onto an SD card and have that be the main boot and operating system drive. Also, what is the latest BBB stable version anyway? The list is kind of confusing as to what is what. I am not using the video output yet but will in the future one i have the basics figured out. What is dd?
Sorry but i am new to the BBB and have a couple that are a couple of years old and just started using them.
The latest tested and supported versions can be located here:
https://forum.beagleboard.org/tags/c/general/8/latest-images
Updated once monthâŚ
Grab the latest âmicroSDâ version of Debian 10.x or Debian 11.x, write it to a microSD with etcher.io , then boot the first time by holding the âbootâ button, then erase the eMMC with ddâŚ
As long as you donât run the âflasherâ after that, itâll always boot from mircroSDâŚ
Regards,
Thanks, what is dd?
dd is a tool in linux to âconvert and copy a fileâ we use it to erase the eMMC⌠dd (Unix) - Wikipedia
Start your board and loginâŚ
debian@bbb-pwr05-ser13:~$ uname -r
5.10.120-ti-r48
debian@bbb-pwr05-ser13:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1 179:0 0 1.8G 0 disk <- eMMC
mmcblk1boot0 179:256 0 1M 1 disk
mmcblk1boot1 179:512 0 1M 1 disk
mmcblk0 179:768 0 29.8G 0 disk <- microSD
ââmmcblk0p1 179:769 0 29.8G 0 part /
Notice those mmcblk1boot0
entry? thatâs the eMMC, therefor the mmcblk0 device is the microSDâŚ
So to erase the eMMC, one would issue this commandâŚ
debian@bbb-pwr05-ser13:~$ sudo dd if=/dev/zero of=/dev/mmcblk1
Regards,