Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2023
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. 14:07 < josch> vkoskiv: you mean if you wan to port an existing system to a different SoM?
  2. 14:20 < vkoskiv> Yeah, I'd like to keep my install if possible
  3. 14:23 < josch> vkoskiv: i'm in the same boat a you, just for a different SoM :)
  4. 14:23 < josch> vkoskiv: do you also have your / on nvme and /boot on emmc?
  5. 14:25 < vkoskiv> Yes. / on encrypted lvm on the nvme, then /boot on emmc
  6. 14:26 < josch> okay, same setup over here
  7. 14:27 < josch> i shall write down the exact steps once my ls1028a arrives but here is what i plan on doing:
  8. 14:27 < josch> boot the system from sd-card, luksOpen my lvm, mount the volume on /mnt
  9. 14:27 < josch> then mount /boot from emmc into /mnt/boot, mount /proc and /sys as well
  10. 14:28 < josch> edit /mnt/etc/fstab to have the correct entry for /boot
  11. 14:29 < josch> either write the correct value for your board into /etc/flash-kernel/machine or just delete the file
  12. (it is only useful for switching from single to dual on imx8mq as flash-kernel will otherwise use the
  13. value from /proc/device-tree/model)
  14. 14:29 < josch> then chroot into /mnt and run update-initramfs -u as well as flash-kernel
  15. 14:29 < josch> and in my case: u-boot-update because i use u-boot-menu
  16. 14:30 < josch> maybe i forgot a step but i have to try this out
  17. 15:13 < vkoskiv> I'll document my findings as well when I start working on swapping
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement