[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTikAagEWRaDOKU5Khqms9By2iFgu2mWkMnqcUFqz@mail.gmail.com>
Date: Sat, 23 Oct 2010 13:25:55 +0200
From: Piotr Piwko <piotr.piwko@...edded-engineering.pl>
To: linux-kernel@...r.kernel.org
Subject: Modification of initramfs built-in to vmlinux image
Hello,
I currently work on an unconventional project which requires to make
some modifications of initramfs included in vmlinux object image. I
can successfully extract it and make the needed corrections of desired
initramfs, but I've met the problem to write it back to vmlinux image.
I try to modify the content of .init.ramfs section and relocate the
sections which are placed below. After these steps the sections map
seems to look ok, but unfortunately the new vmlinux causes a reset
during boot process.
Can I make this kind of modification on the final vmlinux object file?
Is it enough to change the content of .init.ramfs section? Maybe are
there some places or issues which I should take into consideration?
Thank you in advance for any hints or references,
--
Piotr Piwko
http://www.embedded-engineering.pl/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists