Build Mini Linux e Linux embarcado

1

Como construir o Mini Linux com o Busybox, Kernel-3.15.3, Syslinux?

EucrieimeuMiniLinuxusandoestasetapas:

StepsinBuildingBaseMiniLinuxDistro
0.Compilethekernelandseetheresultintermsofsizeofthecompilation;
1.Createrootfsimage(formatasext2mke2fsforexample)thatwillcontaintherootsystemandsomebasicprograms(usedbusybox);
2.Mountrootfsandcreatebasicdirectoriesandfiles;
3.Compilebusyboxandinstallitinsidetherootfs;
4.Checkthekernelsize(withorwithoutmodulesenabled)andCiarimage(withmkdosfsappliedtotheimage'linux.img'example)thatcontainlinux.imggruborsyslinuxsettingthebootprocessofthesystem;
5.Afterrootfscreatedandlinux,copyforsyslinux.cfglinux.img,bzImage,intothelinux.img.Iuse#find./cpio--create--format='newc'>initrd(tocreate"initrd" of rootfs) and copy it to linux.img;
6 . Applies the command ' sync' syslinux to finish the linux.img image ;
7 . After all settings and installations test it with qemu , for example, the following command qemu linux.img ' ;
8 . If everything ok the system will boot and will fall in the basic shell . But the current attempts can not enter the terminal ( shell ) ; I leave here resgistred steps if it can help someone or someone can help me .

No entanto, não consegui executar init , como mostra a figura.

Em outros testes, eu obtive outros problemas de kernel panic, já que root não foi encontrado.

Eu usei esta referência:
link
link Tutorial "Embedded Linux From Scratch"

    
por Peter Hausdorff Smith K. 10.07.2014 / 02:12

0 respostas