Repository navigation
Conversation
Board-level port of the Yuzuki Chameleon (Allwinner H616, quad-core
Cortex-A53, 1 GB DDR3, on-board eMMC) to the vendor tree, following the
layout of the r528 boards:
- Kconfig with ARCH_BOARD_YUZUKI_H616 (depends on ARCH_CHIP_H616)
- configs/nsh: SMP 4-core NSH defconfig; the board is selected through
CONFIG_ARCH_BOARD_CUSTOM_* so no nuttx-side board list entry is needed
- include/board.h, scripts/{Make.defs,dramboot.ld}: DRAM boot at 0x40000000
- src/: board init/bringup, reset, eMMC slot wiring (sdc2, 4-bit, HS400
capable), rcS/rc.sysinit packed into the /etc romfs via RCRAWS (GNU make)
and nuttx_add_romfs (CMake)
Depends on the H616 chip support (arch/arm64/src/h616) contributed to the
open-vela nuttx repository; built and hardware-verified against that tree
(boot, SMP, eMMC FAT on /mnt with files persisting across reboots).
Describe the hardware, directory layout, build entry point and the DRAM/FEL boot flow, mirroring the r528s3-gemini-s1 README structure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New board-level port of the Yuzuki Chameleon board (Allwinner H616, quad-core Cortex-A53, 1 GB DDR3, on-board eMMC) to the vendor tree, following the layout of the r528 boards.
SoC: Allwinner H616, 4x Cortex-A53 @ ~1.5 GHz
Memory: 1 GB DDR3 (boot image loaded by FEL to 0x40080000, DRAM boot at 0x40000000)
Storage: on-board eMMC (sdc2, 4-bit, HS400 capable, 29 GB)
Console: UART0
Content (17 files, all new,
boards/h616/yuzuki-h616/):Kconfig:ARCH_BOARD_YUZUKI_H616(depends onARCH_CHIP_H616)configs/nsh: SMP 4-core NSH defconfig. The board is selected throughCONFIG_ARCH_BOARD_CUSTOM_*so no nuttx-side board list entry is neededinclude/board.h,scripts/Make.defs,scripts/dramboot.ld: DRAM boot at 0x40000000src/: board init/bringup, reset, eMMC slot wiring (yuzuki-h616_sdhci.c: sdc2, 4-bit, HS400 capable)src/etc/init.d/rcS+rc.sysinit: packed into the /etc romfs via RCRAWS (GNU make) and nuttx_add_romfs (CMake)The eMMC bring-up uses the idma path when available (measured at ~113 MB/s multiblock read); the probe safely falls back to the AHB path on any mismatch so a failing card can never break the mount.
Impact
Testing
Build (host: x86_64 Ubuntu 22.04, aarch64-none-elf-gcc, openvela build.sh):
./build.sh vendor/allwinnertech/boards/h616/yuzuki-h616/configs/nsh -j8— PASS, 0 errors/warnings (nuttx.bin 336246 B)tools/checkpatch.shon the formatted patches: 0 errors, 0 warningsHardware validation (Yuzuki Chameleon, H616, real board, flashed via FEL):
/dev/mmcsd0p1mounted at/mnt, files persist across rebootsBoot log: https://gist.github.com/duxingduo/d7650ea00766c65d01ec3ea920fba668
cc @yanxingyu17