Skip to content
Permalink
Browse files

Amlogic-ng: add option to boot.ini to configure blue LED heartbeat

  • Loading branch information...
adamg88 committed May 14, 2019
1 parent 1512aac commit c3c8c3de0194e4a8b293c98d61a2c1c2a00831ab
Showing with 12 additions and 1 deletion.
  1. +2 −0 projects/Amlogic-ng/bootloader/Odroid_N2_boot.ini
  2. +10 −1 projects/Amlogic-ng/bootloader/config.ini
@@ -27,6 +27,7 @@ setenv emmc_timeout "0"
setenv wol "1"
setenv remotewakeup "0x23dc4db2"
setenv decode_type "0"
setenv heartbeat "1"

setenv loadaddr 0x11000000
setenv dtb_mem_addr 0x1000000
@@ -50,6 +51,7 @@ bootm loados
bootm fdt
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
if test "${heartbeat}" = "0"; then fdt set /leds/blueled linux,default-trigger "none"; fi
# Remove aml partition layout from device tree (required for eMMC boot)
fdt rm /partitions
bootm prep
@@ -157,7 +157,7 @@
#------------------------------------------------------------------------------------------------------
#
# EMMC timeout for Odroid N2
# You can enable a boot delay of 30s before the kernel is loaded. This way you can boot LePotato from
# You can enable a boot delay of 30s before the kernel is loaded. This way you can boot from an
# SD card and you have time to insert the emmc module, otherwise it would boot Android from emmc
# automatically. This is especially useful if you want to install CoreELEC to emmc.
# emmc_timeout=1
@@ -179,3 +179,12 @@
# decode_type=0 # NEC
#
#------------------------------------------------------------------------------------------------------

#------------------------------------------------------------------------------------------------------
#
# Heartbeat for Odroid N2
# You can disable the blue LED heartbeat with this option, 0=off/1=on
#
# heartbeat=1
#
#------------------------------------------------------------------------------------------------------

0 comments on commit c3c8c3d

Please sign in to comment.
You can’t perform that action at this time.