Difference between revisions of "i.MX53 SODIMM PC Flashing images"

From Voipac Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
This section describes flashing Barebox, Linux kernel and filesystem images.<br /><br />
 
This section describes flashing Barebox, Linux kernel and filesystem images.<br /><br />
  
If module does not start loading Barebox from its memory, recover bootloader by following [[i.MX53_SODIMM_PC_Loading_bootloader|these steps]] first.
+
If module could not start loading Barebox from its memory, recover bootloader by following [[i.MX53_SODIMM_PC_Loading_bootloader|these steps]] first.
  
 
== Flashing bootloader ==
 
== Flashing bootloader ==
Line 46: Line 46:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
eth0.serverip=192.168.0.77
 
eth0.serverip=192.168.0.77
update barebox tftp folder/barebox-2012.09.0-vmx53-vpac2.bin
+
update barebox tftp vmx53/barebox-2012.09.0-vmx53-vpac2.bin
 
</syntaxhighlight>
 
</syntaxhighlight>
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Updating_kernel.jpg|600px]]<br /><br />
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Updating_kernel.jpg|600px]]<br /><br />
Line 58: Line 58:
 
Update Linux image (using the latest official Voipac image is highly recommended):
 
Update Linux image (using the latest official Voipac image is highly recommended):
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
#update kernel tftp folder/zImage-2.6.35.3-vmx53-vpac0.bin
+
#update kernel tftp vmx53/zImage-2.6.35.3-vmx53-vpac0.bin
update kernel tftp folder/zImage-3.12.13_vmx53_20151129.bin
+
update kernel tftp vmx53/zImage-3.12.13_vmx53_20151129.bin
 
</syntaxhighlight>
 
</syntaxhighlight>
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Flashing_kernel.jpg|600px]]<br /><br />
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Flashing_kernel.jpg|600px]]<br /><br />
Line 68: Line 68:
 
Update the stored filesystem image:
 
Update the stored filesystem image:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
update rootfs tftp folder/rootfs-ubifs-bb-1-18-vmx53-vpac0.bin
+
update rootfs tftp vmx53/rootfs-ubifs-bb-1-18-vmx53-vpac0.bin
 
</syntaxhighlight>
 
</syntaxhighlight>
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Flashing_filesystem.jpg|600px]]<br /><br />
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Flashing_filesystem.jpg|600px]]<br /><br />

Revision as of 10:50, 13 April 2021

This section describes flashing Barebox, Linux kernel and filesystem images.

If module could not start loading Barebox from its memory, recover bootloader by following these steps first.

Flashing bootloader

Enable serial boot mode by placing a link between pins 1 and 2 of H902 (BOOTMODE) header:
i.MX25 SODIMM Base Board-Serial boot.jpg

Make sure FTFP server is up and running. Download the latest image and store it into the TFTP directory.

A local network without DHCP 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

600px

Erase NAND Flash memory:

erase /dev/nand0

600px

Download bootloader image from TFTP server:

tftp vmx53/barebox.bin /dev/nand0.barebox.bb

600px

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 (short pins 2 and 3 together):
i.MX25 SODIMM Base Board-Direct boot.jpg

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 vmx53/barebox-2012.09.0-vmx53-vpac2.bin

600px

Restore bootloader environment to the default state and reset the board afterwards:

erase /dev/nand0.bareboxenv

600px

Update Linux image (using the latest official Voipac image is highly recommended):

#update kernel tftp vmx53/zImage-2.6.35.3-vmx53-vpac0.bin
update kernel tftp vmx53/zImage-3.12.13_vmx53_20151129.bin

600px

Flashing filesystem

Download the latest filesystem and store into the TFTP directory.

Update the stored filesystem image:

update rootfs tftp vmx53/rootfs-ubifs-bb-1-18-vmx53-vpac0.bin

600px

Reset the board.The module boots with newly downloaded files. The default vmx53 login is root without set password: 600px