Re: Sharing code between Linux and bootloader (U-boot) ?
From: Grant Edwards
Date: Fri May 20 2016 - 11:09:15 EST
On 2016-05-20, Sebastian Frias <sf84@xxxxxxxxxxx> 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