[U-Boot] Booting a proprietary OS

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.

Hi,
On 18 October 2016 at 05:47, dlbp90 paolo.delucabosso@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

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" sjg@chromium.org ha scritto:
Hi,
On 18 October 2016 at 05:47, dlbp90 paolo.delucabosso@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

Hi,
On 19 October 2016 at 00:47, Paolo De Luca Bosso paolo.delucabosso@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@chromium.org ha scritto:
Hi,
On 18 October 2016 at 05:47, dlbp90 paolo.delucabosso@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
participants (3)
-
dlbp90
-
Paolo De Luca Bosso
-
Simon Glass