Difference between revisions of "Loading Linux Kernels Onto a Board"

From wiki.emacinc.com
Jump to: navigation, search
(Started page)
 
Line 1: Line 1:
 
{{todo|Write this|Michael Welling|project=oe 4,oe 5,mw,NotStarted}}
 
{{todo|Write this|Michael Welling|project=oe 4,oe 5,mw,NotStarted}}
Include running from RAM and programming them to flash.
+
 
 +
== SoM-9260M ==
 +
<syntaxhighlight lang="bash">
 +
U-Boot> tftp 0x20000000 uImage-som-9260m
 +
U-Boot> protect off all
 +
U-Boot> erase 0x10100000 0x103fffff
 +
U-Boot> cp.b 0x20000000 0x10100000 ${filesize}
 +
U-Boot> set kernelsize $filesize
 +
</syntaxhighlight>
 +
 
 +
== SoM-9G20M ==
 +
<syntaxhighlight lang="bash">
 +
U-Boot> tftp 0x20000000 uImage-som-9g20m
 +
U-Boot> cp.b 0x20000000 0xD0042000 ${filesize}
 +
</syntaxhighlight>
 +
 
 +
== SoM-9G45M ==
 +
<syntaxhighlight lang="bash">
 +
U-Boot> tftp 0x74000000 uImage-som-9g45m
 +
U-Boot> cp.b 0x74000000 0xC0042000 ${filesize}
 +
</syntaxhighlight>
 +
 
 +
== SoM-9M10M ==
 +
<syntaxhighlight lang="bash">
 +
 
 +
U-Boot> tftp 0x74000000 uImage-som-9m10m
 +
U-Boot> cp.b 0x74000000 0xC0042000 ${filesize}
 +
</syntaxhighlight>
 +
 
 +
== SoM-9307M ==
 +
<syntaxhighlight lang="bash">
 +
Redboot> fis unlock -f 0x60000000 -l 0x1fdffff
 +
Redboot> load -r -v -b 0x80000 -h 10.0.2.60 zImage-som-9307m
 +
Redboot> fis create -b 0x80000 -l 0x200000 zImage
 +
</syntaxhighlight>
 +
 
 +
== IPAC-9302 ==
 +
<syntaxhighlight lang="bash">
 +
Redboot> fis unlock -f 0x60000000 -l 0x1fdffff
 +
Redboot> load -r -v -b 0x80000 -h 10.0.2.60 zImage-ipac-9302
 +
Redboot> fis create -b 0x80000 -l 0x200000 zImage
 +
</syntaxhighlight>

Revision as of 08:45, 6 November 2013

TODO: {{#todo:Write this|Michael Welling|oe 4,oe 5,mw,NotStarted}}

SoM-9260M

U-Boot> tftp 0x20000000 uImage-som-9260m
U-Boot> protect off all
U-Boot> erase 0x10100000 0x103fffff
U-Boot> cp.b 0x20000000 0x10100000 ${filesize}
U-Boot> set kernelsize $filesize

SoM-9G20M

U-Boot> tftp 0x20000000 uImage-som-9g20m
U-Boot> cp.b 0x20000000 0xD0042000 ${filesize}

SoM-9G45M

U-Boot> tftp 0x74000000 uImage-som-9g45m
U-Boot> cp.b 0x74000000 0xC0042000 ${filesize}

SoM-9M10M

U-Boot> tftp 0x74000000 uImage-som-9m10m
U-Boot> cp.b 0x74000000 0xC0042000 ${filesize}

SoM-9307M

Redboot> fis unlock -f 0x60000000 -l 0x1fdffff
Redboot> load -r -v -b 0x80000 -h 10.0.2.60 zImage-som-9307m
Redboot> fis create -b 0x80000 -l 0x200000 zImage

IPAC-9302

Redboot> fis unlock -f 0x60000000 -l 0x1fdffff
Redboot> load -r -v -b 0x80000 -h 10.0.2.60 zImage-ipac-9302
Redboot> fis create -b 0x80000 -l 0x200000 zImage