[U-Boot] Booting a proprietary OS

Simon Glass sjg at chromium.org
Wed Oct 26 18:30:40 CEST 2016


Hi,

On 19 October 2016 at 00:47, Paolo De Luca Bosso
<paolo.delucabosso at gmail.com> wrote:
> Hi!
>
> Yes, i have a question about U-Boot.
>
> Can i use U-Boot as bootloader for a proprietary operating system?

Yes.

>
> I want use bootm command and a bin file. In particular the Image kernel is
> produced by mkimage command with following option:
> - standalone
> - uncompressed
> - arm architecture
> - U-Boot application
> - with a specified load address and entry point
>
> Then i load Image file from SD-card with ext2load command and i start it
> with bootm command.
>
> Can it be a good idea and solution?
>
> Do you have any suggest?

You could add a new type for your binary. If you look for IH_OS_LYNXOS
you will see how this is done for another OS.

>
> Thanks in advance
>
>
> Il 19 ott 2016 04:42, "Simon Glass" <sjg at chromium.org> ha scritto:
>>
>> Hi,
>>
>> On 18 October 2016 at 05:47, dlbp90 <paolo.delucabosso at gmail.com> wrote:
>> > Hello everybody!!!
>> > I need to port an operating system from x86 architecture to ARM
>> > architecture.
>> > In particular i'm using a Cubietruck board board with Cortex A-7 CPU.
>> >
>> > Initially i would use U-boot as bootloader for my operating system: so i
>> > concentrate on kernel porting!
>> >
>> > If i use mkimage command to create the image uncompressed of my
>> > operating
>> > system should i project some decompressing operation for the kernel or
>> > not?
>> > I explain batter: after loading from SD-card the kernel image and
>> > executing
>> > bootm command to start the kernel. at the entry point of the kernel what
>> > operation should i do and implement??
>> >
>> > It's very important
>> >
>> > Thanks in advance
>>
>>
>> Do you have a U-Boot question? It is not clear from your email.

Regards,
Simon


More information about the U-Boot mailing list