Difference between revisions of "i.MX53 SODIMM PC Flashing images"
(Created page with "Category:i.MX53 SODIMM PC - Development kit Category:i.MX53 SODIMM PC Recovery <!-- --> <div style="float:right">__TOC__</div> This section describes flashing Barebox,...") |
|||
Line 3: | Line 3: | ||
<!-- --> | <!-- --> | ||
<div style="float:right">__TOC__</div> | <div style="float:right">__TOC__</div> | ||
− | This section describes flashing Barebox, Linux kernel and filesystem images. | + | This section describes flashing Barebox, Linux kernel and filesystem images.<br /><br /> |
+ | |||
+ | If module does not start loading Barebox from its memory, [[i.MX53_SODIMM_PC_Loading_bootloader|recover]] bootloader by downloading it from PC first. | ||
== Flashing bootloader == | == Flashing bootloader == |
Revision as of 14:52, 3 April 2021
This section describes flashing Barebox, Linux kernel and filesystem images.
If module does not start loading Barebox from its memory, recover bootloader by downloading it from PC first.
Flashing bootloader
Place i.MX53 SODIMM PC Module into the serial boot mode by placing a link between pins 1 and 2 of H902 (BOOTMODE) header:
Make sure FTFP server is up and running. Download the latest image and store it into the TFTP directory.
A local network without DHCP server control is recommended. Define network parameters for this network first:
eth0.ipaddr=192.168.0.150 eth0.netmask=255.255.255.0 eth0.gateway=192.168.0.1 eth0.serverip=192.168.0.77
Erase NAND Flash memory:
erase /dev/nand0
Download bootloader image from TFTP server:
tftp tftp folder/barebox.bin /dev/nand0.barebox.bb
Power off the board and disconnect the JTAG cable as it is not needed anymore. Switch the module to the normal boot mode by changing H902 jumper (BOOTMODE) on the base board (pins 2 and 3 together):
Power on the board. The module boots from the new Barebox stored in its memory:
600px
Flashing Linux kernel
Download the latest kernel image and store into the TFTP directory.
Before loading the image, set the server address and update the bootloader:
eth0.serverip=192.168.0.77 update barebox tftp folder/barebox-2012.09.0-vmx53-vpac2.bin
Restore bootloader environment to the default state and reset the board afterwards:
erase /dev/nand0.bareboxenv
Update Linux image:
update kernel tftp folder/zImage-3.12.13_vmx53_20151129.bin
Flashing filesystem
Download the latest filesystem and store into the TFTP directory.
Update the stored filesystem image:
update rootfs tftp folder/rootfs-ubifs-bb-1-18-vmx53-vpac0.bin
Reset the board and module boots with newly downloaded files. The default vmx53 login is root without set password: 600px