corrections (boot.cmd was already part of repo) + start doc of kernel-pkgs
This commit is contained in:
parent
f717d89674
commit
3dc694e316
2 changed files with 9 additions and 5 deletions
10
README.md
10
README.md
|
@ -54,7 +54,7 @@ Contains:
|
|||
/dts/mt7623n-bananapi-bpi-r2.dtb
|
||||
```
|
||||
|
||||
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).
|
||||
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!)
|
||||
|
@ -90,3 +90,11 @@ There are two possibilities:
|
|||
* dd the image to a temporary partition, boot into it, and setup the root partition using pacstrap (you dont need the linux or linux-firmware package, you already cared about these parts in the previous section); alternatively use the `setup.sh` script
|
||||
|
||||
... !!!
|
||||
|
||||
## linux-headers + updating
|
||||
|
||||
TODO: adapt pacman sources such that the pkgs `linux` and `linux-headers` are installed from the local sources in `linux-pkgs`.
|
||||
|
||||
In order to install the linux headers needed to build modules from other packages you need to compile the kernel directly on the arm cpu. Boot into the system and clone the [main line kernel repository](https://github.com/torvalds/linux.git). Checkout the latest releas tag, copy corresponding config and apply corresponding patches.
|
||||
|
||||
...!!!
|
||||
|
|
4
boot.cmd
4
boot.cmd
|
@ -1,4 +0,0 @@
|
|||
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
|
Loading…
Reference in a new issue