Skip to contentSkip to conversation

Question about mkimage -O option?

U-Boot-Users Keichii Moto 2 participants 2 messages Mar 24, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

If I want to port other OS to the board that using u-boot as bootloader. For example, QNX, should I change -O to onx? or use "linux" is ok? thanks.

__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

If I want to port other OS to the board that using u-boot as bootloader. For example, QNX, should I change -O to onx? or use "linux" is ok? thanks.

Neither one nor the other. For QNX you should use "-O qnx".

For a full list of supported OS names justt enter an invalid name when calling "mkimage", like that:

-> mkimage -O ?

Invalid OS Type - valid names are: 4_4bsd, artos, dell, esix, freebsd, irix, linux, lynxos, ncr, netbsd, openbsd, psos, qnx, rtems, sco, solaris, svr4, u-boot, vxworks
Usage: mkimage -l image

          -l ==> list image header information
       mkimage -A arch -O os -T type -C comp -a addr -e ep -n name -d data_file[:data_file...] image
          -A ==> set architecture to 'arch'
          -O ==> set operating system to 'os'
          -T ==> set image type to 'type'
          -C ==> set compression type 'comp'
          -a ==> set load address to 'addr' (hex)
          -e ==> set entry point to 'ep' (hex)
          -n ==> set image name to 'name'
          -d ==> use image data from 'datafile'
          -x ==> set XIP (execute in place)

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The human mind treats a new idea the way the body  treats  a  strange
protein - it rejects it.                                 - P. Medawar