← Back to Huashan Pi
buildroot on Huashan Pi

System Version

Not specified

Status

cft

Last Update

2024-10-15

BuildRoot Huashan Pi Test Report

Test Environment

Operating System Information

Hardware Information

  • Huashan Pi
  • A microSD card
  • A USB to UART Debugger

Installation Steps

Compiling SDK

Download the SDK:

git clone https://github.com/zuoyi001/zue_sophpi-huashan.git
cd zue_sophpi-huashan

Compile the SD card image:

sudo apt-get update
sudo apt-get install -y build-essential ninja-build automake autoconf libtool wget curl git gcc libssl-dev bc slib squashfs-tools android-sdk-libsparse-utils android-sdk-ext4-utils jq cmake python3-distutils tclsh scons parallel ssh-client tree python3-dev python3-pip device-tree-compiler ssh cpio fakeroot libncurses5 flex bison

cd cvi_media_sdk/
source build/cvisetup.sh 
defconfig cv1812h_wevb_0007a_emmc
build_all 

Flashing Image

Format the SD card:

sudo mkfs.vfat -F 32 /dev/<your-device>

Copy the image to the SD card

.
├── fip.bin
├── boot.emmc (minimal Linux image)
├── rootfs.emmc (rootFS)
├── system.emmc (rw volumes)
├── cfg.emmc (config rw)
└── fw_payload_uboot.bin (bootloader + uboot)

After the card is inserted and powered on, it will automatically enter the upgrade, and after the upgrade is completed, it will stay in the uboot, and appear as

Saving Environment to MMC... Writing to MMC(0)... OK

Pull out the SD card and enter re to reboot into the system.

Logging into the System

Logging into the system via the serial port.

Expected Results

The system should boot up normally and allow login through the onboard serial port.

Actual Results

CFT

Boot Log

Screen recording (From flashing the image to logging into the system):

Test Criteria

Successful: The actual result matches the expected result.

Failed: The actual result does not match the expected result.

Test Conclusion

CFT