public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* custom u-boot /dtb in ISAR
@ 2022-12-07  3:40 Kurt Zou
  2022-12-07  7:41 ` Uladzimir Bely
  2022-12-08 17:52 ` Henning Schild
  0 siblings, 2 replies; 3+ messages in thread
From: Kurt Zou @ 2022-12-07  3:40 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]

Hi
Not sure if this is the right place to ask novice question like this.
I'm trying to build a wic-image for a new board with a customized u-boot.  
I created my own xxx_defconfig for the u-boot,  and customized dts file as 
well. I tried build some examples but they are all based on existing 
.defconfig file or dts in u-boot git repository. If I need to build this 
customized u-boot/dtb, what's the best approach?
Thanks

[-- Attachment #1.2: Type: text/html, Size: 460 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: custom u-boot /dtb in ISAR
  2022-12-07  3:40 custom u-boot /dtb in ISAR Kurt Zou
@ 2022-12-07  7:41 ` Uladzimir Bely
  2022-12-08 17:52 ` Henning Schild
  1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2022-12-07  7:41 UTC (permalink / raw)
  To: isar-users; +Cc: Kurt Zou

In the email from Wednesday, 7 December 2022 06:40:19 +03 user Kurt Zou wrote:
> Hi
> Not sure if this is the right place to ask novice question like this.
> I'm trying to build a wic-image for a new board with a customized u-boot.
> I created my own xxx_defconfig for the u-boot,  and customized dts file as
> well. I tried build some examples but they are all based on existing
> .defconfig file or dts in u-boot git repository. If I need to build this
> customized u-boot/dtb, what's the best approach?
> Thanks

Hello.

You could apply the patch that adds new defconfig for u-boot. Put it to the 
"files" near the recipe and add the patch to SRC_URI.

-- 
Uladzimir Bely




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: custom u-boot /dtb in ISAR
  2022-12-07  3:40 custom u-boot /dtb in ISAR Kurt Zou
  2022-12-07  7:41 ` Uladzimir Bely
@ 2022-12-08 17:52 ` Henning Schild
  1 sibling, 0 replies; 3+ messages in thread
From: Henning Schild @ 2022-12-08 17:52 UTC (permalink / raw)
  To: Kurt Zou; +Cc: isar-users

Some examples on custom u-boot can be found in some public layers.

i.e.
https://github.com/siemens/jailhouse-images/tree/master/recipes-bsp/u-boot
https://source.denx.de/Xenomai/xenomai-images/-/tree/master/
https://github.com/siemens/meta-iot2050/tree/master/recipes-bsp/u-boot

Also have a look at the variable DTB_FILES in the machine configs in
these layers.

These examples might help to find your own solution, maybe one layer
supports the target you have to deal with.

Anyhow when you are just getting started with Isar and have to do
bsp-work ... these layers are worth knowing.

Henning


Am Tue, 6 Dec 2022 19:40:19 -0800 (PST)
schrieb Kurt Zou <kurtzou@gmail.com>:

> Hi
> Not sure if this is the right place to ask novice question like this.
> I'm trying to build a wic-image for a new board with a customized
> u-boot. I created my own xxx_defconfig for the u-boot,  and
> customized dts file as well. I tried build some examples but they are
> all based on existing .defconfig file or dts in u-boot git
> repository. If I need to build this customized u-boot/dtb, what's the
> best approach? Thanks
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-08 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-07  3:40 custom u-boot /dtb in ISAR Kurt Zou
2022-12-07  7:41 ` Uladzimir Bely
2022-12-08 17:52 ` Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox