====== Digi ConnectCore i.MX53 / Wi-i.MX53 ====== {{digi-ccwmx53/ccwimx51-lx-jsk_lg.jpg}} More details: http://www.digi.com/products/model?mid=3953 ===== Building a custom U-Boot ===== Requirements: * gmake * gsed First build the xdev target: $ cd freebsd $ make xdev XDEV=arm XDEV_ARCH=arm Then build U-Boot: $ git clone https://github.com/rpaulo/uboot-ccwmx53-digi.git $ cd uboot-ccwmx53-digi $ gmake ccwmx51js_config $ gmake CROSS_COMPILE=armv6-freebsd- ===== Replacing the U-Boot in flash ===== * Setup DHCP and a TFTP server serving %%%%''%%u-boot-ccwmx53js.bin%%''%%%%. * Type %%%%''%%update uboot%%''%%%% * Answer the questions and U-Boot will update itself If you end up installing a broken U-Boot, you can still boot off SD card. See the next section. ===== U-Boot from SD card ===== To boot U-Boot from the SD card slot, change S8 (near Camera 1) to this configuration: | BOOT | down, up | | CONF | up, up | You need to ''%%dd%%'' ''%%u-boot-ccwmx53js.bin%%'' to the first sectors of the SD card to be able to boot. ===== U-Boot setup for network booting (ubldr) ===== setenv loadbootsc 0 setenv bootcmd 'dhcp; go 0x70800054' saveenv reset ===== U-Boot setup for network booting (kernel booting) ===== setenv loadbootsc 0 setenv bootcmd 'dhcp; tftpboot 0x70800000 kernel.ccwmx53; go 0x70800100' saveenv reset