Commit Graph

7 Commits

Author SHA1 Message Date
Takumi Sueda
93de849023 Pre-install BrainLILO / enable G2 build 2022-05-10 00:51:47 +09:00
Takumi Sueda
b9b99be34a Specify CROSS_COMPILE 2022-02-19 02:20:01 +09:00
Yusuke Nakamura
6fa865562d Use last loop device from loopdev -l
In my env, `make image/sd.img` failed by following error.

```
+ sudo kpartx -av /home/unasuke/src/github.com/brain-hackers/buildbrain/image/sd.img
add map loop6p1 (253:8): 0 131072 linear 7:6 2048
add map loop6p2 (253:9): 0 12154880 linear 7:6 133120
++ losetup -l
++ grep -o loop.
++ grep sd.img
+ LOOPDEV='loop6
loop4
loop5
loop3'
+ sudo mkfs.fat -F32 -v -I /dev/mapper/loop6 loop4 loop5 loop3p1
mkfs.fat 4.1 (2017-01-24)
Bad block count : loop4
Usage: mkfs.fat [-a][-A][-c][-C][-v][-I][-l bad-block-file][-b backup-boot-sector]
       [-m boot-msg-file][-n volume-name][-i volume-id]
       [-s sectors-per-cluster][-S logical-sector-size][-f number-of-FATs]
       [-h hidden-sectors][-F fat-size][-r root-dir-entries][-R reserved-sectors]
       [-M FAT-media-byte][-D drive_number]
       [--invariant]
       [--help]
       /dev/name [blocks]
make: *** [Makefile:126: image/sd.img] エラー 1
```
2021-05-05 22:05:49 +09:00
Takumi Sueda
c133c10be3 Fix case 2021-03-23 00:16:14 +09:00
Takumi Sueda
b5c7a41797 Enable SH7 build 2021-03-22 22:55:01 +09:00
Takumi Sueda
1ebd86c1a2 Increase SD image size to 3GiB 2021-02-23 23:36:22 +09:00
Takumi Sueda
fc61df79b6 Build Brainux on CI 2021-02-21 14:34:40 +09:00