Commit c966c77e authored by Walter Lozano's avatar Walter Lozano

Update README with power supply info and network boot

Signed-off-by: Walter Lozano's avatarWalter Lozano <>
parent 2cb5d346
Pipeline #10900 canceled with stage
......@@ -38,3 +38,54 @@ stop bit: 1
parity : none
flow control: none
## Power supply
There are several ways to feed energy to the Rock Pi 4
### USB type C
The easiest way is to connect a USB type C connector to the Rock Pi 4.
### GPIO Header
The GPIO Header has pins 2 and 4 to used for connecting VCC 5 V. In latest revision of the board those pins are indicated with red.
In this case, probably it will be easier to use a different pin for console ground, like in the picture below
## Network boot
In order to be able to test different kernels and rootfs network boot can be easily enabled in U-Boot by setting the default `bootcmd` to either `bootcmd_dhcp` or `bootcmd_pxe`. In order for this to work, Rock Pi 4 should be connected to a LAN which provides DHCP, TFTP and NFS server.
The following example shows TFTP configuration to enable PXE boot.
The files are placed inside /srv/tftp
$ ls -1 /srv/tftp/
And PXE configuration
$ cat /srv/tftp/pxelinux.cfg/default-arm-rk3399-evb_rk3399
default l0
menu title U-Boot menu
prompt 0
timeout 50
label l0
menu label Rock Pi 4 (Debian/Testing)
linux vmlinuz-5.4.0-4-arm64
fdt rk3399-rock-pi-4.dtb
initrd initrd.img-5.4.0-4-arm64
append loglevel=8 root=/dev/nfs ip=dhcp rootwait rw earlyprintk nfsroot=
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment