Create an image of openwrt for IMX233 custom board

Started by ssosgar, May 03, 2017, 09:15:44 PM

Previous topic - Next topic

ssosgar

I download openwrt chaos calmer an using make menuconfig I create an image for imx233 but when I copy to SD card

The board load u-boot and the process end

I want a know how can I create an SD image with u-boot and openwrt starting files

Thanks for any advice on this issue

Sergio Sosa

ssosgar

I download openwrt 15.05 branch (Chaos Calmer) using

git clone -b chaos_calmer git://github.com/openwrt/openwrt.git

run make menuconfig to configure it to target system "Freescale i.mx23/i.mx28" and target profile "Olimex Olinuxino maxi/mini boards"

run make V=s

and I obtain in the following dir ...bin/ mxs the next file

openwrt-mxs-olinuxino-maxi-sdcard-vfat-ext4.img

and using windows win32diskimager I copy to SD card

I load my custom board but my output is

U-Boot 2015.01 (May 03 2017 - 20:41:15)
CPU:   Freescale i.MX23 rev1.4 at 454 MHz
BOOT:  SSP SD/MMC #0
DRAM:  64 MiB
MMC:   MXS MMC: 0
*** Warning - bad CRCCOMMA using default environment
In:    serial
Out:   serial
Err:   serial
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  3 '8''8''8' 0   ('8' es un backspace)
=>

I not have keyboard to write something

I see in https://wiki.openwrt.org/toh/olimex/imx233-olinuxino the next comment

Further notes

The board uses a special boot image called bootstream / safeboot. The file includes a zImage, a compiled devicetree, and various preparation bootlets (power_, sdram_, linux_)- these are contained in package/imx-bootlets. The image is created by the elftosb tool.

My question is


How can i copy the correct files to SD card and with what tool



Thanks for your help


Sergio Sosa

lambda

Since your system is successfully starting u-boot, your SD card seems to fine, actually.

You do not need a key board: The same serial connection, that provides the output, that you are showing, also can be used for input...