From 6120889990dea683eaed8bc5b90dc6cf38be9b5b Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Thu, 11 Mar 2021 01:07:22 +0900 Subject: [PATCH 1/2] Update "Bootstrap Debian 10 (buster)" section in README.md Build phase commands refined from #10 --- .gitignore | 2 ++ README.md | 18 ++++-------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index f142aa4..3dc617b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ debian cache/* !cache/.gitkeep nk.bin +image/sd.img +image/work diff --git a/README.md b/README.md index 8a1aed3..e36f1f3 100644 --- a/README.md +++ b/README.md @@ -83,25 +83,15 @@ Build Linux Bootstrap Debian 10 (buster) ---------------------------- -1. Partition an SD card into two partitions. - - - 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 `make ldefconfig lbuild`. 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. - - - `sudo cp -ar ./debian/* /path/to/your/sd/2nd/partition/` - - Please make sure that all attributes are preserved with `-a` flag. +1. Run `make image.sd.img` +1. Confirm that `image/sd.img` exists. Watch changes in submodules & auto-build ---------------------------------------- From da73a4f4139a95292edc184c94421799b6347dad Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Fri, 12 Mar 2021 19:51:35 +0900 Subject: [PATCH 2/2] Update README.md Fix wording Co-authored-by: Takumi Sueda --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e36f1f3..3e464f0 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Bootstrap Debian 10 (buster) 1. Run `make image.sd.img` -1. Confirm that `image/sd.img` exists. +1. Confirm that `image/sd.img` is built and burn it to an SD card. Watch changes in submodules & auto-build ---------------------------------------- @@ -108,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. -