diff options
author | Karel Kočí <cynerd@email.cz> | 2022-08-08 08:27:06 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-08-08 08:27:06 +0200 |
commit | 07896ee61dba47bc57c4c3b3b819033dc0324a1b (patch) | |
tree | 42ee9d052e6738e7b5dac4a1842f20f72bf4ed96 /README.md | |
parent | defa8544d9437116a652827db62cbbf1f8933d5e (diff) | |
download | nixturris-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.md | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -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 +``` |