From: Jan Kiszka <jan.kiszka@siemens.com>
To: daniel.sangorrin@toshiba.co.jp, cip-dev@lists.cip-project.org,
isar-users@googlegroups.com
Subject: Re: porting iwg20m to isar-cip-core
Date: Wed, 5 Jun 2019 07:51:58 +0200 [thread overview]
Message-ID: <e14436b8-7649-1104-9371-f094b03f09a9@siemens.com> (raw)
In-Reply-To: <TY2PR01MB3323430BEC5CEDF3D6EA34EDD0160@TY2PR01MB3323.jpnprd01.prod.outlook.com>
On 05.06.19 07:34, daniel.sangorrin@toshiba.co.jp wrote:
>> I tried to add a recipe for iwg20m's u-boot. That board
>> only supports version 2013.01 and does not support distro boot.
> [snip]
>> As for the kernel image location, since we do not have u-boot
>> distro support I will move it manually from the root partition
>> to the boot partition using a postinstall script inside the
>> customizations recipe. If there is a better option please
>> let me know.
>
> OK, I figured it out. I just had to define KERNEL_IMAGE="zImage" (so that it gets deployed) and then add that variable to IMAGE_BOOT_FILES.
>
I would definitely recommend following the pre-existing pattern as they are
working on a lot of different boards already. Primarily on ARMv8 (where most
things are much better), but also on quite a few ARMv7 boards. That will avoid
having to invent too much board-specific things over and over again.
Missing distro boot is a PITA, I know, but the best workaround is specifying
what missing command the user should inject into the legacy U-Boot so that it
loads the boot.scr from the rootfs and has the required board-specific env vars
set. If you can even rebuild the U-Boot, you may also inject those commands into
the default env, just by enhancing the defconfig.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2019-06-05 5:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-05 2:16 Daniel Sangorrin
2019-06-05 2:16 ` [isar-cip-core] iwg20m: temporary patch for review v2 Daniel Sangorrin
2019-06-07 14:55 ` [cip-dev] " Ben Hutchings
2019-06-05 5:34 ` porting iwg20m to isar-cip-core daniel.sangorrin
2019-06-05 5:51 ` Jan Kiszka [this message]
2019-06-05 6:00 ` Jan Kiszka
2019-06-05 8:27 ` daniel.sangorrin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e14436b8-7649-1104-9371-f094b03f09a9@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=cip-dev@lists.cip-project.org \
--cc=daniel.sangorrin@toshiba.co.jp \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox