Skip to content

Commit

Permalink
readme: add instructions for booting local FIT kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Nov 29, 2020
1 parent b2d3901 commit 8a75849
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,20 @@ bootm ${loadaddr}
```

as there is no rootfs yet you need a initramfs to create filesystem on emmc

### create filesystem from running system

```sh
root@bpi-r64:~# mkfs.vfat -n "BPI-BOOT" /dev/mmcblk0p4
root@bpi-r64:~# mkfs.ext4 -L "BPI-ROOT" /dev/mmcblk0p5
```

current u-boot binary supports variable "fit" in uEnv.txt, so put your itb in

bananapi/bpi-r64/linux/ of /dev/mmcblk0p4

and set this in this uEnv.txt:

```
fit=bpi-r64-5.4.77-main.itb
```

0 comments on commit 8a75849

Please # to comment.