Yes it is.
There are basically two ways in doing it
One is to create a binary "blob" where each part (kernel and  fs)  is placed
at a certain location and the space between them is padded
These location should match exactly the kernel mtd partition settings in
terms of size.

The other method i have used, uses some "magic bytes" at the end of a jffs2
filesystem to mark it
Then kernel and the fs are joint and a kernel patch is used to find where
the filesystem starts/ends
This is the method used by Openwrt (in the kamikaze version)

Stelios S. Koroneos

Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com


  -----Original Message-----
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Frank Prepelica
  Sent: Friday, June 01, 2007 2:15 PM
  To: [email protected]
  Subject: Kernel and rootfs in ONE image?


  Hi all,



  in normal case you have got a kernel image and a rootfs image. Place

  that images into flash memory, set correct bootargs and it should work.



  But, is it possible to generate one image which includes the linux kernel

  and a rootfs, place that single image into flash memory and it should also
work?



  Thanks in advance!



  Beste regrads

  Frank
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to