aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-08-08 08:27:06 +0200
committerKarel Kočí <cynerd@email.cz>2022-08-08 08:27:06 +0200
commit07896ee61dba47bc57c4c3b3b819033dc0324a1b (patch)
tree42ee9d052e6738e7b5dac4a1842f20f72bf4ed96 /README.md
parentdefa8544d9437116a652827db62cbbf1f8933d5e (diff)
downloadnixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.tar.gz
nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.tar.bz2
nixturris-07896ee61dba47bc57c4c3b3b819033dc0324a1b.zip
Turris Omnia cross build now should work
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 1fb1e55..dee5f38 100644
--- a/README.md
+++ b/README.md
@@ -43,13 +43,10 @@ you should do to get the correct layout:
```
~# parted /dev/mmcblk1
(parted) mktable gpt
-(parted) mkpart NixTurris 0% -4G
+(parted) mkpart NixTurris 0% 100%
(parted) set 1 boot on
-(parted) mkpart NixTurrisSwap -4G 100%
-(parted) set 2 swap on
(parted) quit
~# mkfs.btrfs /dev/mmcblk1p1
-~# mkswap /dev/mmcblk1p2
```
Next we need the initial system tarball to unpack to the SD card. For this you
@@ -76,3 +73,16 @@ The last step is to unpack the tarball to the SD card.
```
Now you can take this micro SD card and insert it to your Mox.
+
+### System fails to boot due to invalid initrd
+
+The issue is caused by initrd start being overwritten by kernel image's tail.
+
+The kernel image in NixOS can be pretty large and default Mox's configuration
+expects kernel of maximum size 48MB. To increase this to 64MB you have to use
+serial console and run:
+
+```
+setenv ramdisk_addr_r 0x9000000
+saveenv
+```