ref: de2c40c380301429598b9afc89ecc8af98b7b667
dir: /mnt-reform.md/
MNT Reform ========== See reform(1). ## Making 9front boot from EMMC, without an SD card *NO REFUNDS* First, make sure to run the latest (dated 2023-01-15, at least) kernel. The guide assumes you have NVME connected, in which case internal EMMC should be showing as `/dev/sdO0`, `/dev/sdO1` and `/dev/sdO2`. The first one is "user" range, where by default the Linux recovery partition is situated. The other two are "boot" partitions, where U-Boot resides (`/dev/sdO1` specifically). If NVME is *not* present, `sdO*` becomes `sdN*`. 1) install [ext4srv](https://git.sr.ht/~ft/ext4srv) 2) mount EMMC linux partition: `ext4srv && mount -c /srv/ext4 /n/emmc /dev/sdO0/linux` 3) copy `plan9.ini`, `9reform.u` and 9front's `/sys/src/boot/reform/boot.scr` to `/n/emmc/` 4) download U-Boot build with early screen enabled: `hget https://ftrv.se/_/mntre-flash-20230115.bin > /tmp/flash.bin`, `md5sum /tmp/flash.bin`, you should get `63025b864faf596dc74e3a1677ad3f59` 5) update U-Boot: `dd -if /tmp/flash.bin -of /dev/sdO1/data -bs 1024 -oseek 33 -trunc 0 -conv sync` 6) the jumper under the heatsink should be positioned to booting from EMMC, this is not the default when the laptop is purchased