0 Replies Latest reply on Mar 16, 2018 7:08 PM by alager

    Booting SD card redirects to emmc?

    alager

      When I boot Stretch with the /boot/uEnv.txt  containing this:

          dtb=am335x-boneblack-emmc-overlay.dtb

       

       

      Then the SD card will start booting, all the LEDs pause, then restart and it boots from emmc instead!  Is this a bug?

      My emmc is loaded with Jessie, so I can easily tell when this happens.

       

      uEnv.txt:

      #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

       

      uname_r=4.9.78-ti-r94

      #uuid=

       

      # this one boots to emmc even when starting from SD card

      #dtb=am335x-boneblack-emmc-overlay.dtb

      dtb=am335x-boneblack-uboot.dtb

       

      ###U-Boot Overlays###

      ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

      ###Master Enable

      enable_uboot_overlays=1

      ###

      ###Overide capes with eeprom

      #uboot_overlay_addr0=/lib/firmware/<file0>.dtbo

      #uboot_overlay_addr1=/lib/firmware/<file1>.dtbo

      #uboot_overlay_addr2=/lib/firmware/<file2>.dtbo

      #uboot_overlay_addr3=/lib/firmware/<file3>.dtbo

      ###

      ###Additional custom capes

      #uboot_overlay_addr4=/lib/firmware/<file4>.dtbo

      #uboot_overlay_addr5=/lib/firmware/<file5>.dtbo

      #uboot_overlay_addr6=/lib/firmware/<file6>.dtbo

      #uboot_overlay_addr7=/lib/firmware/<file7>.dtbo

      ###

      ###Custom Cape

      #dtb_overlay=/lib/firmware/<file8>.dtbo

      ###

      ###Disable auto loading of virtual capes (emmc/video/wireless/adc)

      #disable_uboot_overlay_emmc=1

      #disable_uboot_overlay_video=1

      #disable_uboot_overlay_audio=1

      #disable_uboot_overlay_wireless=1

      #disable_uboot_overlay_adc=1

      ###

      ###PRUSS OPTIONS

      ###pru_rproc (4.4.x-ti kernel)

      #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo

      ###pru_uio (4.4.x-ti & mainline/bone kernel)

      #uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo

      ###

      ###Cape Universal Enable

      enable_uboot_cape_universal=1

      ###

      ###Debug: disable uboot autoload of Cape

      #disable_uboot_overlay_addr0=1

      #disable_uboot_overlay_addr1=1

      #disable_uboot_overlay_addr2=1

      #disable_uboot_overlay_addr3=1

      ###

      ###U-Boot fdt tweaks... (60000 = 384KB)

      #uboot_fdt_buffer=0x60000

      ###U-Boot Overlays###

       

      cmdline=coherent_pool=1M net.ifnames=0 quiet

       

      #In the event of edid real failures, uncomment this next line:

      #cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e

       

      ##Example v3.8.x

      #cape_disable=capemgr.disable_partno=

      #cape_enable=capemgr.enable_partno=

       

       

       

      still looking for advice

      Thanks,

      Aaron