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


Groups > linux.kernel > #1404529

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

From Grant Edwards <grant.b.edwards@gmail.com>
Newsgroups linux.kernel
Subject Re: Sharing code between Linux and bootloader (U-boot) ?
Date 2016-05-20 17:10 +0200
Message-ID <rAUdP-74l-1@gated-at.bofh.it> (permalink)
References <rATB8-6Bl-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016-05-20, Sebastian Frias <sf84@laposte.net> wrote:

> 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?

A little bit -- sort of.  I've seen chunks of code that have been
copied from Linux to U-Boot, and chunks of code in Linux and U-Boot
that appear to have come from the same place at some silicon vendor or
other.  And there are bits of code I've written that ended up in both
places.

But Linux and U-Boot don't share actual files, and any changes to the
"common" code has to be done twice.

-- 
Grant Edwards               grant.b.edwards        Yow! Are we THERE yet?
                                  at               
                              gmail.com            

Back to linux.kernel | Previous | NextPrevious in thread | Next 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