Author Topic: Backed Up Initrd.bin. Is This Going To Work?  (Read 1750 times)

BeKind

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.seizurerobots.com
Backed Up Initrd.bin. Is This Going To Work?
« on: December 19, 2004, 09:04:25 am »
Hello,

This is the first time i've tried making a custom initrd.bin for flashing so I want to be ultra paranoid and ask a dumb question.

The only flashing I've done so far is to get OZ in the first place, so please bear with me.

I read that all the initrd.bin is (one of the 2 files you put on the cf card for flashing)  is an image of /dev/mtdblock4.

So I installed OZ, took out some apps, put some other ones on there, and then ran

Code: [Select]
dd if=/dev/mtdblock4 of=/mnt/cf/initrd.bin
Good, so the file should be ready for flashing.

Now, what scares me slightly is the "Building a ROM" page i found on here.. (which is either in the how-to section or the FAQ section, i can't recall which.)  It states:

Quote
  The resulting initrd.bin must be less then 14811136 bytes (14MB+128KB). 

Now, my initrd is EXACTLY 14811136 bytes, which I kind of expect from the dd command.

Being ultra paranoid, I just want to verify that EXACTLY 14811136 is ok, not "less than" like the article states.

Thanks, everyone!
« Last Edit: December 19, 2004, 09:06:46 am by BeKind »

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Backed Up Initrd.bin. Is This Going To Work?
« Reply #1 on: December 19, 2004, 09:41:24 am »
That works for a Collie, dunno about other Zs.

Been there, done that.
Webmaster of hentges.net & Embedded Linux Developer.

BeKind

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.seizurerobots.com
Backed Up Initrd.bin. Is This Going To Work?
« Reply #2 on: December 19, 2004, 11:08:23 am »
Thanks, I do have a 5500.  Glad to know it will work!