jetson-nano legacy: give up on this legacy and remove it; fixes #5117

This commit is contained in:
Ricardo Pardini 2023-04-30 17:48:42 +02:00 committed by igorpecovnik
parent 145ae8472c
commit f860106a2a
3 changed files with 2 additions and 7090 deletions

View File

@ -2,7 +2,7 @@
BOARD_NAME="Jetson Nano"
BOARDFAMILY="media"
BOOTCONFIG="none"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TARGET="current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="nvidia/tegra210-p3450-0000.dtb"
@ -28,4 +28,4 @@ function post_family_tweaks__Jetson-nano() {
fi
return 0
}
}

File diff suppressed because it is too large Load Diff

View File

@ -45,27 +45,6 @@ case $BRANCH in
LINUXCONFIG='linux-station-p2-'$BRANCH
EXTRAWIFI="no"
WIREGUARD="no"
elif [[ $BOARD == jetson-nano ]]; then
# This is a very old kernel source that generates errors on modern gcc. Downgrade those to warnings.
declare -g KERNEL_EXTRA_CFLAGS="-Wno-error=builtin-declaration-mismatch -Wno-error=array-bounds -Wno-error=maybe-uninitialized -Wno-error=zero-length-bounds -Wno-error=restrict -Wno-error=stringop-overflow -Wno-error=array-parameter -mno-outline-atomics"
# This legacy thing requires `xxd` package installed. Don't ask questions.
function add_host_dependencies__jetson_nano_legacy_requires_xxd() {
display_alert "Adding xxd dep" "for ${BOARD} ${BRANCH}" "info"
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} xxd"
}
KERNELDIR='linux-nano'
KERNELSOURCE='https://github.com/150balbes/Jetson-Nano'
declare -g KERNEL_MAJOR_MINOR="4.9" # Major and minor versions of this kernel.
KERNELBRANCH='branch:4.9.201'
KERNELPATCHDIR='jetson-nano-'$BRANCH
LINUXFAMILY=jetson-nano
LINUXCONFIG='linux-jetson-nano-'$BRANCH
EXTRAWIFI="no"
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"
else
KERNELSOURCE='https://github.com/150balbes/rockchip-kernel'
declare -g KERNEL_MAJOR_MINOR="5.10" # Major and minor versions of this kernel.