Trying to use the following to create the uboot acceptable image file for imx6ull:
hello_bare not linux, but baremetal or freeRTOS image
mkimage -n 'hello' -A arm -C none -a 0x80000000 -e 0x80002040 -O invalid -T kernel -d hello_bare u0
No idea - O and -T to choose which option. Available options are:
operating system, supported are:
4_4bsd 4_4BSD
arm-trusted-firmware ARM Trusted Firmware
dell Dell
efi EFI Firmware
esix Esix
freebsd FreeBSD
integrity INTEGRITY
invalid Invalid OS
irix Irix
linux Linux
lynxos LynxOS
ncr NCR
netbsd NetBSD
openbsd OpenBSD
openrtos OpenRTOS
opensbi RISC-V OpenSBI
ose Enea OSE
plan9 Plan 9
psos pSOS
qnx QNX
rtems RTEMS
sco SCO
solaris Solaris
svr4 SVR4
tee Trusted Execution Environment
u-boot U-Boot
vxworks VxWorks
image type, supported are:
aisimage Davinci AIS image
atmelimage ATMEL ROM-Boot Image
copro Coprocessor Image
filesystem Filesystem Image
firmware Firmware
firmware_ivt Firmware with HABv4 IVT
flat_dt Flat Device Tree
fpga FPGA Image
gpimage TI Keystone SPL Image
imx8image NXP i.MX8 Boot Image
imx8mimage NXP i.MX8M Boot Image
imximage Freescale i.MX Boot Image
invalid Invalid Image
kernel Kernel Image
kernel_noload Kernel Image (no loading done)
kwbimage Kirkwood Boot Image
lpc32xximage LPC32XX Boot Image
mtk_image MediaTek BootROM loadable Image
multi Multi-File Image
mxsimage Freescale MXS Boot Image
omapimage TI OMAP SPL With GP CH
pblimage Freescale PBL Boot Image
pmmc TI Power Management Micro-Controller Firmware
ramdisk RAMDisk Image
rkimage Rockchip Boot Image
rksd Rockchip SD Boot Image
rkspi Rockchip SPI Boot Image
script Script
socfpgaimage Altera SoCFPGA CV/AV preloader
socfpgaimage_v1 Altera SoCFPGA A10 preloader
standalone Standalone Program
stm32image STMicroelectronics STM32 Image
tee Trusted Execution Environment Image
ublimage Davinci UBL image
vybridimage Vybrid Boot Image
x86_setup x86 setup.bin
zynqimage Xilinx Zynq Boot Image
zynqmpbif Xilinx ZynqMP Boot Image (bif)
zynqmpimage Xilinx ZynqMP Boot Image
When I use -T imximage, error from mkimage:
- Can't open DCD file
Any idea on this?
Hi Joan Xie,
Thanks for your info.
I will try standalone again. Tried before, and if I did not miss anything, I remember if standalone app completes then the Uboot may get control again. This does not sounds what we want: we want the Uboot disappear after loading our app (barebone/freeRTOS) , isn't it?
try the "-T standalone"
Hi Guys,
Eventually I turned to barebox which looks like easier to use for some point of view.
Thank you!