further instructions

This commit is contained in:
Christian Zimmermann 2020-11-28 16:07:18 +01:00
parent 4bf536afd9
commit 6da0b5764c
3 changed files with 8 additions and 2 deletions

View file

@ -25,9 +25,11 @@ fdisk -l /dev/mmcblk0
/dev/mmcblk0p3 22925312 31115263 8189952 3,9G 83 Linux
```
For some reason I still have to figure out, creating the partition table directly with fdisk destroys the preloader. Hence, I recommend to dd the image `first10M.img` to the beginning of the SD card and then recreating the partitions using the existing partition table.
## Pre-Loader:
...!!!
Is included in `first10M.img`.
## u-boot:
@ -52,7 +54,7 @@ Contains:
/dts/mt7623n-bananapi-bpi-r2.dtb
```
and further images (eg different kernel versions etc...)
and further images (eg different kernel versions etc...). `/boot.img` can be created from the provided `boot.cmd` using the `mkbootimg.sh` script. I recommend to create a second `.img` file which boots into former kernel images (might be useful in the case of unsuccessful kernel update).
### how to create these files:
(because they are not available anywhere, at least not for the most recent kernel. The most recent version provided by some debain derivates is 4.4 or 4.14... too old for my taste!)

4
boot.cmd Executable file
View file

@ -0,0 +1,4 @@
setenv bootargs console=ttyS2,115200 earlyprintk root=/dev/mmcblk1p2 rootfstype=ext4 panic=10
fatload mmc 1 0x84000000 zImage
fatload mmc 1 0x86000000 dts/mt7623n-bananapi-bpi-r2.dtb
bootz 0x84000000 - 0x86000000

BIN
first10M.img Normal file

Binary file not shown.