Changes

Jump to navigation Jump to search
m
abootimg --create boot.img -k zImage -r initrd -s foo.dtb -c "pagesize=0x800" -c "kerneladdr=0x8000" -c "ramdiskaddr=0x02000000" -c "secondaddr=0x00f00000" -c "tagsaddr=0x100"
Notice how this puts the device tree binary <code>foo.dtb.foo</code> into the "second bootloader firmware".
If you are booting PostmarkeOS with a custom kernel, the <code>initrd</code> you pass must better be a PostmarkeOS initramfs. This can be found in a path like <code>.local/var/pmbootstrap/chroot_native/mnt/rootfs_samsung-skomer/boot/initramfs-postmarketos-stericsson</code>. The initrd is used to set up, detect and load the rest of the rootfs from the SDcard volume so it is pretty vital.
137

edits

Navigation menu