Merge pull request #14 from unasuke/update_readme

Update "Bootstrap Debian 10 (buster)" section in README.md
This commit is contained in:
Takumi Sueda 2021-03-12 20:10:51 +09:00 committed by GitHub
commit 8930b5f3f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 15 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ debian
cache/* cache/*
!cache/.gitkeep !cache/.gitkeep
nk.bin nk.bin
image/sd.img
image/work

View File

@ -83,25 +83,15 @@ Build Linux
Bootstrap Debian 10 (buster) Bootstrap Debian 10 (buster)
---------------------------- ----------------------------
1. Partition an SD card into two partitions. 1. Run `make ldefconfig lbuild`.
- 1st: FAT32 (vfat), about 100MB
- 2st: ext4, fill the remaining area
1. Build and copy the Linux kernel.
- Run `make ldefconfig lbuild`.
- Copy `/linux-brain/arch/arm/boot/zImage` and `/linux-brain/arch/arm/boot/dts/imx28-evk.dtb` into the 1st partition.
1. Run APT cache in background (mandatory): `make aptcache`. 1. Run APT cache in background (mandatory): `make aptcache`.
1. Run `make debian`. 1. Run `make brainux`.
1. Copy all contents in `./debian` into the 2nd partition. 1. Run `make image.sd.img`
- `sudo cp -ar ./debian/* /path/to/your/sd/2nd/partition/`
- Please make sure that all attributes are preserved with `-a` flag.
1. Confirm that `image/sd.img` is built and burn it to an SD card.
Watch changes in submodules & auto-build Watch changes in submodules & auto-build
---------------------------------------- ----------------------------------------
@ -118,4 +108,3 @@ What's r3build?
--------------- ---------------
[r3build](https://github.com/puhitaku/r3build) is a smart file watcher that aims to provide hot-reloading feature like Web frontend development. [r3build](https://github.com/puhitaku/r3build) is a smart file watcher that aims to provide hot-reloading feature like Web frontend development.