Debian Jessie and beaglebone-black

Hi,

i have run Debian Wheezy for some time and made an customized it to enable the LOGI-Bone support (FPGA based cape) easily by modifying uEnv.txt to disable eMMC (we use the GPMC port that shares IO with the eMMC) and updating the kernel. I now try to run Jessie but i face two problems :

  1. Default Jessie image MLO seems to be configured to boot from eMMC by default so you need to press the boot button on power-up which is not convenient when a cape is plugged in
  2. uEnv.txt in /boot is almost empty and i don’t see the usual variables to configure uboot boot sequence (optargs, uenvcmd …)

So who can i modify the image to boot from sd-card by default ? How can i disable eMMC to allow the LOGI-Bone support ?

Regards,

Jonathan Piat

Hi,

i have run Debian Wheezy for some time and made an customized it to enable
the LOGI-Bone support (FPGA based cape) easily by modifying uEnv.txt to
disable eMMC (we use the GPMC port that shares IO with the eMMC) and
updating the kernel. I now try to run Jessie but i face two problems :

1) Default Jessie image MLO seems to be configured to boot from eMMC by
default so you need to press the boot button on power-up which is not
convenient when a cape is plugged in

Either erase the eMMC or use the "--bbb-old-bootloader-in-emmc" flag
to setup_sdcard.sh. (note you'll probally have download master
https://raw.githubusercontent.com/RobertCNelson/omap-image-builder/master/tools/setup_sdcard.sh
)

2) uEnv.txt in /boot is almost empty and i don't see the usual variables to
configure uboot boot sequence (optargs, uenvcmd ...)

Generic options are:
http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0#uEnv.txt_Rootfs_Partition_.2Fboot.2FuEnv.txt

But cape_disable/cape_enable is available for the beaglebone's

cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G

So who can i modify the image to boot from sd-card by default ? How can i
disable eMMC to allow the LOGI-Bone support ?

Regards,

Great will try. For the uEnv.txt file, you mean that i can add an optargs variable and it will be loaded by u-boot ? Previous version required to have a bootcmd variable that would then run the different commands.

Most of the logic has been pushed into the bootloader. Thus allowing
really simple uEnv.txt's..

Just add:

cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G

to /boot/uEnv.txt on the rootfs partition and eMMC will be disabled

Regards,

Very nice. Apparently i don’t even need to add this line as the LOGIBONE dts file conflicts with eMMC pins, and eMMC just won’t be loaded by device tree.