Issue Booting on NanoPC-T4

Travis Whitton tinymountain at
Tue Jan 19 17:48:12 CET 2021

Hello, I'm running into problems trying to get the official upstream
nanopc-t4-rk3399_defconfig to work on my NanoPC-T4. I'm building u-boot on
Ubuntu/Focal (docker container) as follows:

# cd /root
# apt-get update
# apt-get install build-essential flex bison gcc-aarch64-linux-gnu git
device-tree-compiler python3 gcc-arm-none-eabi bc
# git clone
# cd arm-trusted-firmware
# make realclean
# make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399
# export BL31=/root/arm-trusted-firmware/build/rk3399/release/bl31/bl31.elf
cd /root
# git clone
# cd u-boot
# make CROSS_COMPILE=aarch64-linux-gnu- nanopc-t4-rk3399_defconfig
# make CROSS_COMPILE=aarch64-linux-gnu-

After the successful build, I copied idbloader.img and u-boot.itb to my
NanoPC-T4 and attempted to install them like so:

# dd if=idbloader.img of=/dev/mmcblk2 conv=fsync,notrunc bs=512 seek=64
# dd if=u-boot.itb of=/dev/mmcblk2 conv=fsync,notrunc bs=512 seek=16384

After installing, the boot process never makes it to a login prompt. In
order to get the dmesg output, I connected to the machine via UART, and I
captured the following logs:

Please advise if I'm doing something wrong. I am available to assist with
testing if necessary.


More information about the U-Boot mailing list