fix disable u-boot and initramfs hooks (#3470)

Close https://github.com/armbian/build/issues/3457
This commit is contained in:
Oleg
2022-02-10 16:59:05 +03:00
committed by GitHub
parent e8480e9705
commit 43daaea590
2 changed files with 3 additions and 5 deletions

View File

@@ -1,11 +1,8 @@
ARCH=arm64
KERNEL_IMAGE_TYPE=Image
BOOTCONFIG=none
ATF_COMPILE="no"
OFFSET=16
BOOTDELAY=0
BOOTBRANCH="tag:v2021.07"
BOOTPATCHDIR="u-boot-rockchip64"
UBOOT_TARGET_MAP=";;u-boot.bin"
CPUMIN=504000
CPUMAX=2132000
@@ -21,7 +18,6 @@ case $BRANCH in
BOOT_FDT_FILE="none"
SRC_CMDLINE='console=ttyS0,115200n8 console=tty0 tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 tegra_fbmem=0x800000@0x92ca9000 is_hdmi_initialised=1 earlycon=uart8250,mmio32,0x70006000 fbcon=map:0'
MODULES_INITRD="jetson-nano-legacy"
BOOTCONFIG=none
;;
current)
@@ -51,6 +47,8 @@ write_uboot_platform()
family_tweaks()
{
install -m 755 $SRC/packages/blobs/jetson/jetson.sh $SDCARD/etc/initramfs-tools/hooks/jetson.sh
if [[ $BRANCH == legacy ]]; then
install -m 755 $SRC/packages/blobs/jetson/tegra21x_xusb_firmware $SDCARD/lib/firmware/tegra21x_xusb_firmware
install -m 755 $SRC/packages/blobs/jetson/asound.conf.tegrahda $SDCARD/etc/asound.conf.tegrahda