293196b2ba
This patch adds the defconfig file needed to build u-boot, kernel and rootfs for the Rock 5B. In addition it adds a kernel config fragment file, which activates the needed ethernet driver support. It also adds a readme and post image scripts, needed to generate an sdcard.img file, which can be flashed on an SD card to boot the Radxa Rock 5B. Signed-off-by: Kilian Zinnecker <kilian.zinnecker@mail.de> [yann.morin.1998@free.fr: - drop custom version - fix shellcheck in post-image script ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
63 lines
1.1 KiB
Plaintext
63 lines
1.1 KiB
Plaintext
RADXA ROCK 5B
|
|
==============
|
|
https://wiki.radxa.com/Rock5/hardware/5b
|
|
|
|
Build:
|
|
======
|
|
$ make rock5b_defconfig
|
|
$ make
|
|
|
|
Files created in output directory
|
|
=================================
|
|
|
|
output/images
|
|
.
|
|
├── Image
|
|
├── Image.gz
|
|
├── boot.scr
|
|
├── boot.vfat
|
|
├── image.itb
|
|
├── rk3588-rock-5b.dtb
|
|
├── rk3588_bl31_v1.40.elf
|
|
├── rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
|
|
├── rock5b.its
|
|
├── rootfs.ext2
|
|
├── rootfs.ext4
|
|
├── rootfs.tar
|
|
├── sdcard.img
|
|
├── u-boot-rockchip.bin
|
|
└── u-boot.bin
|
|
|
|
Creating bootable SD card:
|
|
==========================
|
|
|
|
Simply invoke (as root)
|
|
|
|
sudo dd if=output/images/sdcard.img of=/dev/sdX && sync
|
|
|
|
Where X is your SD card device.
|
|
|
|
Booting:
|
|
========
|
|
|
|
Serial console:
|
|
---------------
|
|
The Rock 5B has a 40-pin GPIO header. Its layout can be seen here:
|
|
https://wiki.radxa.com/Rock5/hardware/5b/gpio
|
|
|
|
The Uart pins are as follows:
|
|
|
|
pin 6: gnd
|
|
pin 8: tx
|
|
pin 10: rx
|
|
|
|
Baudrate for this board is 1500000.
|
|
|
|
Login:
|
|
------
|
|
Enter 'root' as login user, and the prompt is ready.
|
|
|
|
wiki link:
|
|
----------
|
|
https://forum.radxa.com/c/rock5
|