Skip to contentSkip to conversation

Booting a proprietary OS

U-Boot dlbp90 2 participants 4 messages Oct 18, 2016 – Oct 26, 2016

lore
Share & tools
lore

dlbp90

author
#0 lore raw

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

--
View this message in context: http://u-boot.10912.n7.nabble.com/Booting-a-proprietary-OS-tp270884.html
Sent from the U-Boot mailing list archive at Nabble.com.

#1 lore raw

Hi,

Quoted 14 lines · On 18 October 2016 at 05:47, dlbp90 <[email protected]> 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??

Quoted 3 lines

It's very important

Thanks in advance

Do you have a U-Boot question? It is not clear from your email.

Regards,
Simon

#2 lore raw

Hi!

Yes, i have a question about U-Boot.

Can i use U-Boot as bootloader for a proprietary operating system?

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?

Thanks in advance

Il 19 ott 2016 04:42, "Simon Glass" <[email protected]> ha scritto:

Quoted 29 lines

Hi,

Quoted 10 lines · On 18 October 2016 at 05:47, dlbp90 <[email protected]> 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?

Quoted 1 line

I explain batter: after loading from SD-card the kernel image and

executing

Quoted 6 lines

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

#3 lore raw

Hi,

Quoted 5 lines · Paolo De Luca Bosso

Hi!

Yes, i have a question about U-Boot.

Can i use U-Boot as bootloader for a proprietary operating system?

Yes.

Quoted 9 lines

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

Quoted 6 lines

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.

Quoted 32 lines

Thanks in advance

Il 19 ott 2016 04:42, "Simon Glass" <[email protected]> ha scritto:

Quoted 27 lines

Hi,

Quoted 17 lines · On 18 October 2016 at 05:47, dlbp90 <[email protected]> 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??

Quoted 3 lines

It's very important

Thanks in advance

Do you have a U-Boot question? It is not clear from your email.

Regards,
Simon