Create RAM disk downloaded via TFTP

Mattias Schlenker ms at mattiasschlenker.de
Mon Dec 19 07:17:18 UTC 2016


Am 19.12.2016 um 04:18 schrieb Vered Zvi:
> Hello,
>
> I created a root file system with busybox.
>
> Currently I have a tree with the following folders: bin sbin boot tmp sys proc ....
>
> My target (ARM-V7, NXP's LS1021A) was booted OK with this tree over NFS.

Then create a (compressed) CPIO archive from the content:

cd /path/to/rootfs && find . | cpio -o -H newc > ../inird.img

or

cd /path/to/rootfs && find . | cpio -o -H newc | gzip -c > ../inird.gz

Regards,
Mattias



-- 
Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte
August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY

Telefon (VoIP "ueberall"), geschaeftlich: +49 341 39290767
Telefon (Festnetz), privat und Fax:       +49 341 30393578
Mobil:                                    +49 163  6953657

Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer
+49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann!

http://blog.rootserverexperiment.de/ http://news.mattiasschlenker.de/



More information about the busybox mailing list