This commit is contained in:
TriForceX
2021-03-13 22:13:38 -03:00
parent c77595adbd
commit b3ecc6e32d
7043 changed files with 119377 additions and 73694 deletions

View File

@@ -0,0 +1,4 @@
label RK3399_ROCK_PI_N10 linux
kernel /Image
devicetree /rk3399pro-rock-pi-n10.dtb
append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk0p4 rw rootwait

View File

@@ -0,0 +1,39 @@
image boot.vfat {
vfat {
files = {
"Image",
"rk3399pro-rock-pi-n10.dtb",
"extlinux"
}
}
size = 112M
}
image sdcard.img {
hdimage {
gpt = true
}
partition loader1 {
image = "idbloader.img"
offset = 32K
}
partition loader2 {
image = "u-boot.itb"
offset = 8M
}
partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
offset = 16M
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
}
}

View File

@@ -0,0 +1,5 @@
#!/bin/sh
BOARD_DIR="$(dirname $0)"
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf

View File

@@ -0,0 +1,61 @@
RADXA ROCKPI-N10
================
https://wiki.radxa.com/RockpiN10
Build:
======
$ make rock_pi_n10_defconfig
$ make
Files created in output directory
=================================
output/images
.
├── bl31.elf
├── boot.vfat
├── extlinux
├── idbloader.img
├── Image
├── rk3399pro-rock-pi-n10.dtb
├── rootfs.ext2
├── rootfs.ext4 -> rootfs.ext2
├── rootfs.tar
├── sdcard.img
├── u-boot.bin
└── u-boot.itb
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:
---------------
RockPi-N10 has a 40-pin GPIO header. The pin layout is as follows:
pin 6: gnd
pin 8: tx
pin 10: rx
Baudrate for this board is 1500000.
The boot order on rockpi-n10 is emmc, sd. If emmc contains a valid Image, the board
always boots from emmc. To boot from SD, erase emmc as per the guide:
https://wiki.amarulasolutions.com/bsp/setup/rockchip/rk3399_emmc.html
Login:
------
Enter 'root' as login user, and the prompt is ready.
wiki link:
----------
https://wiki.amarulasolutions.com/bsp/rockchip/rk3399pro/rock-pi-n10.html