mirror of
https://github.com/brain-hackers/buildbrain
synced 2025-01-02 17:40:12 +09:00
Merge pull request #40 from brain-hackers/ci-optionalnk
Disable nk.bin boot loader injection by default etc.
This commit is contained in:
commit
7e2b04ce18
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.release_name.outputs.name }}
|
tag_name: ${{ steps.release_name.outputs.name }}-tag
|
||||||
release_name: ${{ steps.release_name.outputs.name }}
|
release_name: ${{ steps.release_name.outputs.name }}
|
||||||
body_path: CHANGES.md
|
body_path: CHANGES.md
|
||||||
draft: false
|
draft: false
|
||||||
|
@ -51,8 +51,8 @@ sudo kpartx -av ${IMG}
|
|||||||
|
|
||||||
LOOPDEV=$(losetup -l | grep sd.img | grep -o 'loop.' | tail -n 1)
|
LOOPDEV=$(losetup -l | grep sd.img | grep -o 'loop.' | tail -n 1)
|
||||||
|
|
||||||
sudo mkfs.fat -F32 -v -I /dev/mapper/${LOOPDEV}p1
|
sudo mkfs.fat -n boot -F32 -v -I /dev/mapper/${LOOPDEV}p1
|
||||||
sudo mkfs.ext4 /dev/mapper/${LOOPDEV}p2
|
sudo mkfs.ext4 -L rootfs /dev/mapper/${LOOPDEV}p2
|
||||||
|
|
||||||
mkdir -p ${WORK}/p1 ${WORK}/p2
|
mkdir -p ${WORK}/p1 ${WORK}/p2
|
||||||
sudo mount -o utf8=true /dev/mapper/${LOOPDEV}p1 ${WORK}/p1
|
sudo mount -o utf8=true /dev/mapper/${LOOPDEV}p1 ${WORK}/p1
|
||||||
@ -60,7 +60,8 @@ sudo mount /dev/mapper/${LOOPDEV}p2 ${WORK}/p2
|
|||||||
|
|
||||||
sudo cp ${LINUX}/arch/arm/boot/zImage ${WORK}/p1/
|
sudo cp ${LINUX}/arch/arm/boot/zImage ${WORK}/p1/
|
||||||
sudo cp ${LINUX}/arch/arm/boot/dts/imx28-pw*.dtb ${WORK}/p1/
|
sudo cp ${LINUX}/arch/arm/boot/dts/imx28-pw*.dtb ${WORK}/p1/
|
||||||
sudo cp ${WORK}/*.bin ${WORK}/p1/
|
sudo mkdir -p ${WORK}/p1/nk
|
||||||
|
sudo cp ${WORK}/*.bin ${WORK}/p1/nk/
|
||||||
|
|
||||||
make -C ${REPO}/brainlilo
|
make -C ${REPO}/brainlilo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user