mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 05:18:55 +00:00
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:
parent
2eb08df632
commit
9aa7aafd4f
7 changed files with 7562 additions and 0 deletions
10
config/boards/jetson-nano.csc
Normal file
10
config/boards/jetson-nano.csc
Normal 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
|
7505
config/kernel/linux-jetson-nano-current.config
Normal file
7505
config/kernel/linux-jetson-nano-current.config
Normal file
File diff suppressed because it is too large
Load diff
28
config/sources/families/jetson-nano.conf
Normal file
28
config/sources/families/jetson-nano.conf
Normal 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/
|
||||
}
|
|
@ -742,3 +742,11 @@ z28pro current focal desktop stable
|
|||
# zeropi
|
||||
zeropi current buster 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
|
||||
|
||||
|
|
BIN
packages/blobs/jetson/firmware/nvidia/tegra210/vic04_ucode.bin
Executable file
BIN
packages/blobs/jetson/firmware/nvidia/tegra210/vic04_ucode.bin
Executable file
Binary file not shown.
BIN
packages/blobs/jetson/firmware/nvidia/tegra210/xusb.bin
Executable file
BIN
packages/blobs/jetson/firmware/nvidia/tegra210/xusb.bin
Executable file
Binary file not shown.
11
packages/bsp/common/etc/initramfs-tools/hooks/jetson.sh
Executable file
11
packages/bsp/common/etc/initramfs-tools/hooks/jetson.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue