Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1404503

Sharing code between Linux and bootloader (U-boot) ?

From Sebastian Frias <sf84@laposte.net>
Newsgroups linux.kernel
Subject Sharing code between Linux and bootloader (U-boot) ?
Date 2016-05-20 16:30 +0200
Message-ID <rATB8-6Bl-33@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Some bootloaders (like U-boot) support several HW devices: serial, network, NAND, USB, etc. most of which are also supported by Linux.

So the question is: is code shared? I mean, I understand that the drivers need to talk to the appropriate API, and such API could be different between Linux and U-boot.
But putting that aside, would it be naive to imagine that some "core" functionality could be shared? Or would that part be so small it is not worth the effort?

Since many companies use both, U-boot and Linux, I would figure they try their best to optimize engineering resources and share code, right?
In that case, I also wonder how do they share DT descriptions that right now are being stored in the Linux kernel tree.

We'd like to share code/DT for obvious reasons, what would you guys suggest?

Best regards,

Sebastian

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Sharing code between Linux and bootloader (U-boot) ? Sebastian Frias <sf84@laposte.net> - 2016-05-20 16:30 +0200
  Re: Sharing code between Linux and bootloader (U-boot) ? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-20 17:10 +0200
  Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ? Tom Rini <trini@konsulko.com> - 2016-05-21 03:50 +0200
    Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ? Sebastian Frias <sf84@laposte.net> - 2016-05-23 15:30 +0200
  Re: Sharing code between Linux and bootloader (U-boot) ? Holger Schurig <holgerschurig@gmail.com> - 2016-05-30 13:40 +0200

csiph-web