Adding Nvidia Jetson Nano (#2720)

* add Jetson Nano

* Update jetson-nano.conf

* Update targets.conf

* Add better description

* Adjust config - try to enable ZRAM

* Packaging patch not needed

* Extlinux was solved in other commit

* Move board to CSC for now

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
Oleg 2021-03-18 20:29:34 +03:00 committed by GitHub
parent 2eb08df632
commit 9aa7aafd4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7562 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# Nvidia Tegra X1 quad core 2G/4GB SoC 4 x USB3 HDMI & DP
BOARD_NAME="Jetson Nano"
BOARDFAMILY="jetson-nano"
BOOTCONFIG="p3450-0000_defconfig"
KERNEL_TARGET="current"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="nvidia/tegra210-p3450-0000.dtb"
SRC_EXTLINUX="yes"
OFFSET=14

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,28 @@
ARCH=arm64
KERNEL_IMAGE_TYPE=Image
BOOTSCRIPT=""
BOOTBRANCH='tag:v2021.01'
BOOTPATCHDIR="u-boot-arm-64"
BOOTDIR='u-boot'
UBOOT_TARGET_MAP=";;u-boot.bin"
case $BRANCH in
current)
KERNELBRANCH="branch:linux-5.10.y"
;;
esac
CPUMIN=504000
CPUMAX=2132000
GOVERNOR=ondemand
write_uboot_platform()
{
dd if=$1/u-boot.bin of=$2 bs=32k seek=1 status=noxfer > /dev/null 2>&1
}
family_tweaks()
{
cp -R $SRC/packages/blobs/jetson/firmware/* $SDCARD/lib/firmware/
}

View file

@ -742,3 +742,11 @@ z28pro current focal desktop stable
# zeropi # zeropi
zeropi current buster cli stable yes zeropi current buster cli stable yes
zeropi current focal cli stable yes zeropi current focal cli stable yes
# Jetson Nano
jetson-nano current buster cli stable yes
jetson-nano current buster desktop stable yes xfce config_base browsers,chat,desktop_tools,editors,email,internet,multimedia,office,programming,remote_desktop
jetson-nano current focal cli stable yes
jetson-nano current focal desktop stable yes xfce config_base browsers,chat,desktop_tools,editors,email,internet,multimedia,office,programming,remote_desktop

Binary file not shown.

View file

@ -0,0 +1,11 @@
#!/bin/sh
# Copy xusb file to initrd
#
mkdir -p "${DESTDIR}"/lib/firmware/nvidia/tegra210
xusbfile=/lib/firmware/nvidia/tegra210/xusb.bin
if [ -f "${xusbfile}" ]; then
cp "${xusbfile}" "${DESTDIR}"/lib/firmware/nvidia/tegra210
fi
exit 0