How do I make a bootable sdcard after building linux kernel?
by mahaju from LinuxQuestions.org on (#5QZG4)
I am trying to build a bootable sdcard for an Orangepi 2g-iot board. I am following instructions in it's manual (https://mikrokontroler.pl/wp-content...ual_v0.9.9.pdf) at page 61 for building the kernel. I have managed to build a zImage file, modules folder and a u-boot.rda file. Are these enough to make a bootable sdcard now? Is there a step-by-step tutorial about what to do after this?
Do I need to make an .img file first, or can I directly make a bootable sdcard out of these files? If making an .img file is not too complicated I would prefer to make an img out of them first so that I can later use Win32DiskImager on it.
I would also appreciate it if you could clear some general confusion about this topic. From what I understand the zImage and modules folder are the main "meat" of the OS while u-boot.rda is what is necessary to boot the OS, or get it's working parts in memory from sdcard. Is this a correct generalization? Also, is u-boot a standard thing used by all linux OSes, or is this mainly used by embedded devices?
Do I need to make an .img file first, or can I directly make a bootable sdcard out of these files? If making an .img file is not too complicated I would prefer to make an img out of them first so that I can later use Win32DiskImager on it.
I would also appreciate it if you could clear some general confusion about this topic. From what I understand the zImage and modules folder are the main "meat" of the OS while u-boot.rda is what is necessary to boot the OS, or get it's working parts in memory from sdcard. Is this a correct generalization? Also, is u-boot a standard thing used by all linux OSes, or is this mainly used by embedded devices?