Hello. I recently purchased a Radxa Zero with 2GB of RAM and 8GB of eMMC. When I burned the official Armbian image provided by Radxa to the eMMC, this single-chip microcomputer starts normally and works well.
But when I tried to use the compile.sh
in the latest Armbian official git repository, to build my own Armbian image and write it to eMMC, and finally try to start, it seemed to fail. I use the command dd if=/path/to/armbian.img of=/dev/sda bs=1M
to write the image to my eMMC in udisk mode, and it finished with no errors.
More specifically, the problem is that, when I plugged in the microHDMI cable and plugged the USB OTG, my monitor had a signal input, but the screen was completely blank within 30 minutes (after that, I gave up trying to boot). No logo or tty showed up.
I also referred to https://wiki.radxa.com/Zero/dev/u-boot, and successfully built my own u-boot.bin
file and wrote it to the radxa0. The situation became worse, and there was no input signal in my monitor. Replacing it with https://dl.radxa.com/zero/images/loader/u-boot.bin also does not work.
The content of my Armbian build log file output.log is shown below.
## BUILD SCRIPT ENVIRONMENT
Repository:
Version:
Host OS: bullseye
Host arch: amd64
Host system: Linux mypc 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
Virtualization type: none
## Build script directories
Build directory is located on:
TARGET SOURCE FSTYPE AVAIL
/home /dev/nvme1n1p5 ext4 38.4G
Build directory permissions:
# file: /home/haotian/radxa_zero/armbian/build
# owner: haotian
# group: haotian
user::rwx
group::r-x
other::r-x
Temp directory permissions:
# file: /home/haotian/radxa_zero/armbian/build/.tmp
# owner: root
# group: root
user::rwx
group::rwx
other::r-x
## BUILD CONFIGURATION
Build target:
Board: radxa-zero
Branch: current
Minimal: no
Desktop: no
Desktop Environment:
Software groups:
Kernel configuration:
Repository: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Branch: branch:linux-5.10.y
Config file: linux-meson64-current
U-boot configuration:
Repository: https://source.denx.de/u-boot/u-boot.git
Branch: tag:v2021.07
Config file: radxa-zero_config
Partitioning configuration: msdos offset: 4
Boot partition type: (none)
Root partition type: ext4
CPU configuration: 1000000 - 1800000 with ondemand
Displaying message: Preparing host info
Displaying message: Build host OS release bullseye info
Displaying message: Downloading sources info
Displaying message: Checking git sources u-boot v2021.07 info
Displaying message: Cleaning .... 57 files
Displaying message: Checking git sources linux-mainline linux-5.10.y info
Displaying message: Cleaning .... 33 files
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Up to date
Displaying message: Checking git sources rkbin-tools master info
Displaying message: Up to date
Displaying message: Checking git sources marvell-tools A3700_utils-armada-18.12 info
Displaying message: Up to date
Displaying message: Checking git sources marvell-ddr mv_ddr-armada-18.12 info
Displaying message: Up to date
Displaying message: Checking git sources marvell-binaries binaries-marvell-armada-18.12 info
Displaying message: Up to date
Displaying message: Checking git sources odroidc2-blobs master info
Displaying message: Up to date
Displaying message: Checking git sources testing-reports master info
Displaying message: Up to date
Displaying message: Checking git sources amlogic-boot-fip master info
Displaying message: Up to date
Displaying message: Cleaning /home/haotian/radxa_zero/armbian/build/output/debs for radxa-zero current info
Displaying message: Creating board support package for CLI armbian-bsp-cli-radxa-zero info
Displaying message: Starting rootfs and image building process for current radxa-zero focal no info
Displaying message: Checking for local cache focal-cli-arm64.42e...3f5.tar.lz4 info
Displaying message: Extracting focal-cli-arm64.42e...3f5.tar.lz4 0 days old info
Displaying message: Adding Armbian repository and authentication key /etc/apt/sources.list.d/armbian.list info
Displaying message: Applying distribution specific tweaks for focal info
Displaying message: Applying common tweaks info
Displaying message: Updating package lists
Displaying message: Temporarily disabling initramfs-tools hook for kernel
Displaying message: Installing from repository linux-u-boot-radxa-zero-current
Displaying message: Installing from repository linux-image-current-meson64
Displaying message: Installing from repository linux-dtb-current-meson64
Displaying message: Installing from repository armbian-bsp-cli-radxa-zero
Displaying message: Installing from repository armbian-firmware
Displaying message: Installing from repository armbian-config
Displaying message: Installing from repository armbian-zsh
Displaying message: Installing from repository wireguard-tools --no-install-recommends
Displaying message: Enabling serial console ttyAML0 info
Displaying message: Building kernel splash logo focal info
Displaying message: Installing extras-buildpkgs hostapd htop mmc-utils sunxi-tools
Displaying message: Calling image customization script customize-image.sh info
Displaying message: No longer needed packages purge info
Displaying message: Unmounting /home/haotian/radxa_zero/armbian/build/.tmp/rootfs-b96545b3-ca05-41bd-9541-a927baaaf047 info
Displaying message: Preparing image file for rootfs radxa-zero focal info
Displaying message: Current rootfs size 1351 MiB info
Displaying message: Creating blank image for rootfs 1696 MiB info
Displaying message: Creating partitions root: ext4 info
Displaying message: Creating rootfs ext4 on /dev/loop0p1
Displaying message: Copying files to /
Displaying message: Copying files to /boot
Displaying message: Updating initramfs... update-initramfs -uv -k 5.10.60-meson64
Displaying message: Updated initramfs. for details see: /home/haotian/radxa_zero/armbian/build/output/debug/install.log info
Displaying message: Re-enabling initramfs-tools hook for kernel
Displaying message: Unmounting /home/haotian/radxa_zero/armbian/build/.tmp/mount-b96545b3-ca05-41bd-9541-a927baaaf047/ info
Displaying message: Free SD cache 12% info
Displaying message: Mount point 89% info
Displaying message: Writing U-boot bootloader /dev/loop0 info
Displaying message: SHA256 calculating Armbian_21.11.0-trunk_Radxa-zero_focal_current_5.10.60.img info
Displaying message: GPG signing skipped - no GPG_PASS Armbian_21.11.0-trunk_Radxa-zero_focal_current_5.10.60.img wrn
Displaying message: Done building /home/haotian/radxa_zero/armbian/build/.tmp/image-b96545b3-ca05-41bd-9541-a927baaaf047/Armbian_21.11.0-trunk_Radxa-zero_focal_current_5.10.60.img info
Displaying message: Runtime 4 min info
Displaying message: Repeat Build Options ./compile.sh BOARD=radxa-zero BRANCH=current RELEASE=focal BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=prebuilt COMPRESS_OUTPUTIMAGE=sha,gpg,img ext
I tried my best to find a solution, but I don’t have a clue. May I ask what mistakes did I make in the above steps? Or am I missing any steps? (I’m sorry that I’m not familiar with U-Boot. )
Thank you very much for your help and reply.