This repository contains our L4T initramfs, u-boot and u-boot scripts, our latest coreboot.romm and a script to update it.
Rebuilds initramfs and uboot script. For Ubuntu Focal Bootfiles on partition 2 with Hekate ID SWR-FOC:
Pull the docker image :
docker pull alizkan/l4t-bootfiles-misc:latestCreate a directory to store build files and kernel files.
mkdir -p "${PWD}"/outRun the docker contaainer to trigger the actuall build :
docker run -it --rm -e DISTRO=focal -e PARTNUM=mmcblk0p2 -e HEKATE_ID=SWR-FOC -v "${PWD}"/out:/out alizkan/l4t-bootfiles-misc:latestsudo apt-get install u-boot-toolsFor GNU/Linux:
mkimage -A arm -T script -O linux -d linux_boot_sdemmc.txt boot.scrFor Android:
mkimage -A arm -T script -O linux -d android_boot_sdemmc.txt boot.scr
mkimage -A arm -T script -O linux -d android_common_sdemmc.txt common.scrsudo apt-get install cpioTo rebuild initramfs :
sh -c 'cd initramfs_files/ && find . | cpio -H newc -o' | gzip -9 > new_initramfs.cpio.gz && mkimage -A arm64 -O linux -T ramdisk -C gzip -d new_initramfs.cpio.gz initramfsTo extract initramfs :
tail -c+65 < initramfs | gunzip > outmkdir initramfs_filesmv out initramfs_filescd initramfs_filescpio -i < outrm outOverlays for Tegra210
- eMMC overlay
dtc -I dts -O dtb -o tegra210-icosa_emmc-overlay.dtbo emmc_overlay.dts- UART-B overlay
dtc -I dts -O dtb -o tegra210-icosa-UART-B-overlay.dtbo uart_b_debug.dtsRebuild Dockerfile:
./scripts/docker/build_image.sh