Marvell 88f6282 Engineering Package Creation

Source: Internet
Author: User
Tags builtin srec

 

I. uboot Compilation

Download uboot 1.1.4 and overwrite it with the patch provided by Marvell.

 

Determine the compilation Parameters Based on the uboot startup information of the Board:

#
_
| \/| _ ____ _____ |
||\/ | /_ '|' __\\// _ \ |
| (_ | \ v/_/|
| _ | \__, _ | \ _/\ ___ | _ |
_ ____ _
| __) ___ | _
| ___ | _ \/_ \ |__ |
| _ | |___ | _) | (_) | _
\ ___/| ____/\ ___/\ __|
** Marvell Board: RD-88F6282A le

U-boot 1.1.4(Jul 8 2010-14:33:12) Marvell version: 3.5.6

U-Boot Code: 00600000-> 0067fff0 BSS:-> 006cfb00

SOC: 88f6282 a0cpu running @ 1600 MHz L2 running @ 533 MHz
Sysclock = 533 MHz, tclock = 200 MHz

DRAM (ddr3) CAS latency = 7 TRP = 8 tras = 20 trcd = 8
Dram cs [0] Base 0x00000000 size 256 MB
Dram cs [1] Base 0x10000000 size 256 MB
DRAM total size 512 MB 16 Bit Width
Addresses 8 m-0 m are saved for the U-boot usage.
Mem malloc initialization (8 m-7 m): Done
Nand: 512 MB
Flash: 0 KB

CPU: Marvell feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is rgmii
Module 1 is TDM

USB 0: Host Mode
Pex 0: Interface Detected no link.
Pex 1: Interface Detected no link.
Net: egiga0 [prime], egiga1
Hit any key to stop autoboot: 0
Marvell>

 

 

Make rd88f6282a_config spiboot = 1 ddr3 = 1

Make error found

/Bin/sh:-C: line 0: Unexpected syntax error near "("

/Bin/sh:-C: line 0: 'arm-mv5sft-linux-gnueabi-gcc-m \ 044 (mv_image_flags) \ 044 (mv_flags)-G

...

Modify include/config. mk

Cppflags + = \ 044 (mv_image_flags) \ 044 (mv_flags)

Change it to cppflags + =$ (mv_image_flags) $ (mv_flags ).

 

Make

....

Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o spartan2.o spartan2.c
Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o spartan3.o spartan3.c
Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o USB. o usb. c
USB. C: 71: Warning: function declaration isn't a prototype
USB. C: In function 'usb _ stop ':
USB. C: 153: Warning: unused variable 'I'
USB. C: In function 'usb _ new_device ':
USB. C: 842: Warning: Case label value exceeds maximum value for Type
Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o usb_kbd.o usb_kbd.c
Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o usb_storage.o usb_storage.c
Usb_storage.c: In function 'usb _ stor_scan ':
Usb_storage.c: 228: Warning: assignment from incompatible pointer type
Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o virtex2.o virtex2.c
Arm-mv5sft-linux-gnueabi-gcc-connector-dmv_large_page-connector-dmv_bootrom-dmv_mmc-dmv_usb-dconfig_cmd_usb-dmv_spi-dmv_spi_boot-g-OS-fno-strict-aliasing-fno-common-ffixed-r8- msoft-float-d1_kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/ OPT/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-g-OS-fno-strict-aliasing-fno-common-ffixed-r8-msoft -Float-d__kernel _-dtext_base = 0x00600000-I/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/include-fno-builtin-ffreestanding-nostdinc-isystem/OPT /Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2/include-pipe-dconfig_arm-dmo-arm _-March = armv5t-wall-wstrict-prototypes-c-o Xilinx. O Xilinx. c
Arm-mv5sft-linux-gnueabi-ar CRV libcommon. A main. O acex1k. O Altera. O bedbug. O circbuf. O cmd_ace.o cmd_autoscript.o cmd_bdinfo.o cmd_bmp.o cmd_boot.o cmd_bootm.o cmd_cache.o cmd_console.o cmd_date.o cmd_dcr.o cmd_diag.o display_display.o cmd_doc.o cmd_dtt.o cmd_eeprom.o cmd_ext2.o cmd_fat.o cmd_fdc.o _cmd_flash.o cmd_fpga.o cmd_i2c.o cmd_ide.o cmd_itest.o cmd_jffs2.o cmd_load.o _____ misc.o cmd_mmc.o cmd_net.o cmd_nvedit.o cmd_pcmcia.o pai_portio.o pai_reginfo.o pai_reiser.o pai_scsi.o pai_spi.o pai_universe.o pai_usb.o pai_vfd.o command. O console. O devices. O dlmalloc. O docecc. O environment. O env_common.o env_nand.o env_dataflash.o env_flash.o env_eeprom.o env_nvram.o env_nowhere.o exports. O flash. o fpga. O ft_build.o hush. O kgdb. o LCD. O lists. O lynxkdi. O memsize. O miiphybb. O miiphyutil. O s_record.o serial. O soft_i2c.o soft_spi.o spartan2.o spartan3.o USB. O usb_kbd.o usb_storage.o virtex2.o Xilinx. O
A-Main. o
A-acex1k. o
A-Altera. o
A-Bedbug. o
A-circbuf. o
A-pai_ace.o
A-cmd_autoscript.o
A-pai_bdinfo.o
A-pai_bedbug.o
A-pai_bmp .o
A-boot_boot.o
A-boot_bootm.o
A-pai_cache.o
A-cmd_lele.o
A-pai_date.o
A-javas_dcr.o
A-diag_diag.o
A-cmd_display.o
A-doc_doc.o
A-pai_dtt.o
A-pai_eeprom.o
A-pai_elf.o
A-cmd_ext2.o
A-pai_fat.o
A-cmd_fdc.o
A-pai_fdos.o
A-pai_flash.o
A-pai_fpga.o
A-pai_i2c.o
A-short_ide.o
A-pai_immap.o
A-pai_itest.o
A-cmd_jffs2.o
A-uplo_load.o
A-pai_log.o
A-pai_mem.o
A-pai_mii.o
A-polic_misc.o
A-cmd_mmc.o
A-assist_nand.o
A-pai_net.o
A-pai_nvedit.o
A-pai_pci.o
A-pai_pcmcia.o
A-pai_portio.o
A-reg_reginfo.o
A-pai_reiser.o
A-mirror_scsi.o
A-pai_spi.o
A-cmd_universe.o
A-example _usb.o
A-cmd_vfd.o
A-command. o
A-console. o
A-devices. o
A-dlmalloc. o
A-docecc. o
A-environment. o
A-env_common.o
A-env_nand.o
A-env_dataflash.o
A-env_flash.o
A-env_eeprom.o
A-env_nvram.o
A-env_nowhere.o
A-exports. o
A-flash. o
A-FPGA. o
A-ft_build.o
A-Hush. o
A-kgdb. o
A-LCD. o
A-lists. o
A-lynxkdi. o
A-memsize. o
A-miiphybb. o
A-miiphyutil. o
A-s_record.o
A-serial. o
A-soft_i2c.o
A-soft_spi.o
A-spartan2.o
A-spartan3.o
A-USB. o
A-usb_kbd.o
A-usb_storage.o
A-virtex2.o
A-Xilinx. o
Make [1]: Leaving directory '/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/common'
Undef_sym = 'arm-mv5sft-linux-gnueabi-objdump-x lib_generic/libgeneric. A board/mv_feroceon/config_kw/libconfig_k1_a CPU/arm926ejs/libarm926ejs. A lib_arm/libarm. A fs/cramfs/libcramfs. A fs/fat/libfat. A fs/fdos/libfdos. A fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs. A fs/ext2/libext2fs. A net/Libnet. A disk/libdisk. a RTC/librtc. a dtt/libdtt. A Drivers/libdrivers. A Drivers/NAND/libnand. A Drivers/USB/libusb. A Drivers/sk98lin/libsk98lin. A post/libpost. A post/CPU/libcpu. A common/libcommon. A | sed-n-e's /. * \ (_ u_boot_cmd _. * \)/-U \ 1/P' | sort | uniq ';\
Arm-mv5sft-linux-gnueabi-ld-bstatic-T/opt/Qt-everywhere/Marvell/bsp/u-boot-1.1.4/board/mv_feroceon/config_kw/u-boot.lds-ttext 0x00600000 $ undef_sym CPU/arm926ejs/start. O \
-- Start-group lib_generic/libgeneric. A board/mv_feroceon/config_kw/libconfig_k1_a CPU/arm926ejs/libarm926ejs. A lib_arm/libarm. A fs/cramfs/libcramfs. A fs/fat/libfat. A fs/fdos/libfdos. A fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs. A fs/ext2/libext2fs. A net/Libnet. A disk/libdisk. a RTC/librtc. a dtt/libdtt. A Drivers/libdrivers. A Drivers/NAND/libnand. A Drivers/USB/libusb. A Drivers/sk98lin/libsk98lin. A post/libpost. A post/CPU/libcpu. A common/libcommon. A -- end-group-L/opt/Qt-everywhere/Marvell/SDK/Cross/bin /.. /lib/GCC/arm-mv5sft-linux-gnueabi/4.3.2-lgcc \
-Map u-boot.map-o u-boot
Arm-mv5sft-linux-gnueabi-objcopy -- gap-fill = 0xff-o srec u-boot u-boot.srec
CP-F u-boot.srec u-boot-rd88f6282a.srec
Arm-mv5sft-linux-gnueabi-objcopy -- gap-fill = 0xff-O binary U-boot u-boot.bin
CP-F u-boot.bin u-boot-rd88f6282a.bin
./Tools/doimage-T flash-D 0x600000-E 0x670000-r dramregs_533ddr3db_a.txt u-boot-rd88f6282a.bin u-boot-rd88f6282a_533ddr3db_flash.bin
U-boot-rd88f6282a_533ddr3db_flash.bin was created
./Tools/doimage-t uart-D 0x600000-E 0x670000-r dramregs_533ddr3db_a.txt u-boot-rd88f6282a.bin u-boot-rd88f6282a_533ddr3db_uart.bin
U-boot-rd88f6282a_533ddr3db_uart.bin was created
CP-f u-boot u-boot-rd88f6282a

Ii. project package production

Flash of the m25px64 Model

Select numonyx so16 Encapsulation

Made with u-boot-rd88f6282a_533ddr3db_flash.bin

For more information, see the project package documentation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.