jacob007
(jacob baven)
January 13, 2021, 10:47am
1
Hi,
We are working on a platform based on arch64 and trying to port Fedora-IoT rootfs.
We have our own board’s u-boot and kernel image and following below method to achieve the same.
https://pagure.io/arm-image-installer
But we are stuck at the init process. Could you please guide is over here?
1 Like
pbrobinson
(Peter Robinson)
January 13, 2021, 2:27pm
2
Hi Jacob,
Have you red the docs here: Welcome :: Fedora Docs
As well as the contributing details: Contribute to Fedora IoT Edition :: Fedora Docs
The mailing list tends to be a better spot to ask those questions
1 Like
jacob007
(jacob baven)
January 15, 2021, 1:52pm
3
Thanks @pbrobinson or your reply.
We have made a SD card using arm-image-installer utility and after that we have changed the u-boot and kernel image (upstream kernel with our customised patches for our hardware). We parsed the commandline argument
ostree=/ostree/boot.0/fedora-iot/5664fcf7ba61ad3632b58faf71ec0965c413be4b6a63754015d1cba5b09079db/0
init=/ostree/deploy/fedora-iot/deploy/23010389d9eb42baedcd764a2aca8afa2a5958e61477359526a3ea998f0c4d2d.0/usr/lib/ostree/ostree-prepare-root"
Our kernel got stuck and throws below error.
[ 3.717428] Run /ostree/deploy/fedora-iot/deploy/23010389d9eb42baedcd764a2aca8afa2a5958e61477359526a3ea998f0c4d2d.0/usr/lib/ostree/ostree-prepare-root as init process
[ 3.737168] Kernel panic - not syncing: Requested init /ostree/deploy/fedora-iot/deploy/23010389d9eb42baedcd764a2aca8afa2a5958e61477359526a3ea998f0c4d2d.0/usr/lib/ostr%e/ostree-prepare-root failed (error -2).
[
Please suggest.
Regards.