Difference between revisions of "Loading JFFS2 Images Onto a Board"
(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}} | ||
− | + | == SoM-9260M == | |
+ | <syntaxhighlight lang="bash"> | ||
+ | U-Boot> tftp 0x20000000 som-9260m-rootfs.jffs2 | ||
+ | U-Boot> protect off all | ||
+ | U-Boot> erase 0x10400000 0x11ffffff | ||
+ | U-Boot> cp.b 0x20000000 0x10400000 ${filesize} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | == SoM-9G20M == | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | U-Boot> tftp 0x20000000 som-9g20m-rootfs.jffs2 | ||
+ | U-Boot> nand erase | ||
+ | U-Boot> nand write.jffs2 0x20000000 0x0 ${filesize} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | == SoM-9G45M == | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | U-Boot> tftp 0x74000000 som-9g45m-rootfs.jffs2 | ||
+ | U-Boot> nand erase | ||
+ | U-Boot> nand write.jffs2 0x74000000 0x0 ${filesize} | ||
+ | |||
+ | </syntaxhighlight> | ||
+ | |||
+ | == SoM-9M10M == | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | U-Boot> tftp 0x74000000 som-9m10m-rootfs.jffs2 | ||
+ | U-Boot> nand erase | ||
+ | U-Boot> nand write.jffs2 0x74000000 0x0 ${filesize} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | == SoM-9307M == | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | Redboot> fis unlock -f 0x60000000 -l 0x1fdffff | ||
+ | Redboot> load -r -v -b 0x300000 -h 10.0.2.60 som-9307m-rootfs.jffs2 | ||
+ | Redboot> fis create -b 0x300000 -l 0x1c00000 jffs2 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | == IPAC-9302 == | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | Redboot> fis unlock -f 0x60000000 -l 0x1fdffff | ||
+ | Redboot> load -r -v -b 0x300000 -h 10.0.2.60 sl040/sl040-aon-00010_ipac9302-image.jffs2 | ||
+ | Redboot> fis create -b 0x300000 -l 0x1c00000 jffs2 | ||
+ | </syntaxhighlight> |
Revision as of 08:19, 6 November 2013
SoM-9260M
U-Boot> tftp 0x20000000 som-9260m-rootfs.jffs2
U-Boot> protect off all
U-Boot> erase 0x10400000 0x11ffffff
U-Boot> cp.b 0x20000000 0x10400000 ${filesize}
SoM-9G20M
U-Boot> tftp 0x20000000 som-9g20m-rootfs.jffs2
U-Boot> nand erase
U-Boot> nand write.jffs2 0x20000000 0x0 ${filesize}
SoM-9G45M
U-Boot> tftp 0x74000000 som-9g45m-rootfs.jffs2
U-Boot> nand erase
U-Boot> nand write.jffs2 0x74000000 0x0 ${filesize}
SoM-9M10M
U-Boot> tftp 0x74000000 som-9m10m-rootfs.jffs2
U-Boot> nand erase
U-Boot> nand write.jffs2 0x74000000 0x0 ${filesize}
SoM-9307M
Redboot> fis unlock -f 0x60000000 -l 0x1fdffff
Redboot> load -r -v -b 0x300000 -h 10.0.2.60 som-9307m-rootfs.jffs2
Redboot> fis create -b 0x300000 -l 0x1c00000 jffs2
IPAC-9302
Redboot> fis unlock -f 0x60000000 -l 0x1fdffff
Redboot> load -r -v -b 0x300000 -h 10.0.2.60 sl040/sl040-aon-00010_ipac9302-image.jffs2
Redboot> fis create -b 0x300000 -l 0x1c00000 jffs2