Hello Willi,

the UDOO probably isn’t supported as of now.

ARM boards usually have some kind of board identifier. This is used to identify
the board, to find out which serial console port it uses, if it has sdmmc slots,
and lots more board specific stuff.

The kernel itself supports the i.MX6 SoC , but it doesn’t support any i.MX6 
based
board out of the box.  You’ll need to feed the kernel some information about 
the board,
so that it knows how to behave when it „sees“ it.

Basically, you’ll need to look at some UDOO-supported u-boot/linux source 
repository
and feed the needed information into sys/arch/armv7/armv7/armv7.c,
sys/arch/armv7/imx/imx_machdep.c and some sys/arch/armv7/imx/imx* drivers.


\Patrick

Am 12.12.2013 um 14:30 schrieb Willi Huber 
<surfersparadise85-open...@yahoo.com>:

> Hello all,
> 
> I am happy having at least the chance to get OpenBSD running on my machine as 
> I first thought
> of buying a Raspberry PI.
> I am pretty new to the OpenBSD and embedded world. So far I have been 
> confronted with working 
> machines out of the box after installing from CD.
> 
> Ok. Lets start. The UDOO is a i.MX6 based machine with 1 GB DDR3 RAM and a 
> lot of other stuff. 
> But I don't want to make any advertising so have a look yourself for further 
> details 
> http://www.udoo.org/features/
> 
> I was trying to get OpenBSD to boot using the infos available at 
> http://www.openbsd.org/armv7.html
> Three things I tried: 
> 1. As described in INSTALL.armv7: dd if=miniroot-imx-54.fs of=/dev/mmcblk0 
>    --> booting and nothing happend on the serial line
> 2. I figured out, that "dd if=miniroot-imx-54.fs of=/dev/mmcblk0" created a 
> partition with the files
>    "6x_bootscript" and "bsd.umg" in it. Then I tried to format the SDCard 
> according to 
>    
> http://www.elinux.org/UDOO_creating_a_bootable_Micro_SD_card_from_precompiled_binaries
>  without
>    installing the root filesystem to the partition but doing dd 
> if=miniroot-imx-54.fs of=/dev/mmcblk0p1
>    --> booting and again nothing happened
> 3. Since I am pretty new I had to try a lot of things. I then came across the 
> idea to follow the 
>    instructions in 
> http://www.elinux.org/UDOO_creating_a_bootable_Micro_SD_card_from_precompiled_binaries
>  
>    with the exception that I copied "bsd.umg" as "uImage" (according to the 
> description) into /boot. 
>    Leaving the filesystem as it is
>    --> booting and it finally happened:
> ----------------snippet----------------
> 
> ## Booting kernel from Legacy Image at 12000000 ...
>    Image Name:   boot
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    4954706 Bytes = 4.7 MiB
>    Load Address: 10800000
>    Entry Point:  10800000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
> 
> Starting kernel ...
> --------------end snippet--------------
> 
> I had to learn, that UDOO itself is not equipped with anything close to a 
> bootloader but takes the first 
> thing it finds on the SD card. I learned, that this has to be the U-Boot 
> image. So far so good. I took 
> the bsd.umg that I found out is the same as 
> http://ftp.openbsd.org/pub/OpenBSD/snapshots/armv7/bsd.rd.IMX.umg 
> and this is the compressed RAMDisk kernel, where the compressed filesystem 
> contains the installation tools.
> 
> Now my question: Why does it hang after printing "Starting kernel ..."? Is 
> there any output that I can not
> see due to changed serial line parameters (speed != 115200)? HDMI isn't also 
> generating any output. What do 
> I have to do in this case?
> Or can it be that, the boot process suddenly stops there?
> 
> Can you suggest me any further reading or any hints how to proceed?
> 
> Thanks in advance.
> 
> Cheers,
> Willi

Reply via email to