mirror of
https://github.com/brain-hackers/buildbrain
synced 2024-12-22 20:20:11 +09:00
Update README
This commit is contained in:
parent
fe0c71dca2
commit
97692605de
21
README.md
21
README.md
@ -75,22 +75,27 @@ Build Linux
|
|||||||
1. Confirm that `linux-brain/arch/arm/boot/zImage` exists.
|
1. Confirm that `linux-brain/arch/arm/boot/zImage` exists.
|
||||||
|
|
||||||
|
|
||||||
Bootstrap Debian Buster
|
Bootstrap Debian 10 (buster)
|
||||||
-----------------------
|
----------------------------
|
||||||
|
|
||||||
1. Partition an SD card into two partitions
|
1. Partition an SD card into two partitions.
|
||||||
|
|
||||||
- 1st: FAT32 (vfat), about 100MB
|
- 1st: FAT32 (vfat), about 100MB
|
||||||
- 2st: ext4, fill remaining capacity
|
- 2st: ext4, fill the remaining area
|
||||||
|
|
||||||
1. Run APT cache in background: `make aptcache`
|
1. Build and copy the Linux kernel.
|
||||||
|
|
||||||
1. Run `make debian`
|
- Run `make ldefconfig lbuild`.
|
||||||
|
- Copy `/linux-brain/arch/arm/boot/zImage` and `/linux-brain/arch/arm/boot/imx28-evk.dtb` into the 1st partition.
|
||||||
|
|
||||||
1. Copy all contents in `./debian` into the 2nd partition in the card.
|
1. Run APT cache in background (mandatory): `make aptcache`.
|
||||||
|
|
||||||
|
1. Run `make debian`.
|
||||||
|
|
||||||
|
1. Copy all contents in `./debian` into the 2nd partition.
|
||||||
|
|
||||||
- `sudo cp -ar ./debian/* /path/to/your/sd/2nd/partition/`
|
- `sudo cp -ar ./debian/* /path/to/your/sd/2nd/partition/`
|
||||||
- Please make sure that all attributes are preserved with `-a` flag
|
- Please make sure that all attributes are preserved with `-a` flag.
|
||||||
|
|
||||||
|
|
||||||
Watch changes in submodules & auto-build
|
Watch changes in submodules & auto-build
|
||||||
|
Loading…
Reference in New Issue
Block a user