[GSoC 2014 : ARM Port] Week #7

Blog post by dnivra on Mon, 2014-06-09 04:38
Hey everyone!
Just like week 6, this is another short update.

I’ve been working on creating a bootstrap-mmc target for the build system. The current issues I’m facing are
  1. Downloading MLO and u-boot fails and thus build fails since jam doesn’t know how to create those targets otherwise. I managed to fix this but apparently, the fix breaks the current build system so I need to modify the fix such that it doesn’t break the build system.
  2. Copying the bootstrap image as the second partition of the MMC image. I planned to use dd since it works fine and probably works fine on Linux and BSDs but dd requires a size to be specified, which is slightly tricky to compute in jam. The obvious solution of using cat doesn’t seem to work - the resultant size of MMC is much higher than expected.

I hope to add the bootstrap-mmc target for jam within this week which would make it much easier for anyone to build the image.

Comments

Re: [GSoC 2014 : ARM Port] Week #7

Please keep up the good work.

Re: [GSoC 2014 : ARM Port] Week #7

Thank you Earl! Glad to see things are progressing and many are interested in the work too :).

Re: [GSoC 2014 : ARM Port] Week #7

dnivra:

Thank you for your work, and your efforts dedicated to this project.

Thank you!!! :-)

Re: [GSoC 2014 : ARM Port] Week #7

Thank you Dario! I hope I can make significant progress and get a bootable ARM port by the end of GSoC.

Re: [GSoC 2014 : ARM Port] Week #7

dd requires a size to be specified

It shouldn't. Is this a BeOS / Haiku limitation? By default dd should copy the entire input until EOF

Re: [GSoC 2014 : ARM Port] Week #7

Yes I think dd doesn't require count option. I think I specified bs=1M option when I tried and that copied beyond the file too. Unfortunately, I've not got the chance to test this out and won't for sometime now.