Freescale Semiconductor TWR-MPC5125 User Manual Download Page 28

$ sudo flash_eraseall /dev/mtd6
$ sudo mkdir -p /tmp/udisk /tmp/mtd
$ sudo mount -t vfat /dev/sda1 /tmp/udisk
$ sudo mount -t yaffs2 /dev/mtdblock6 /tmp/mtd
$ sudo tar xpf /tmp/udisk/<ROOTFS_PACKAGE>.tar -C /tmp/mtd
$ sudo umount /tmp/mtd
$ sudo umount /tmp/udisk

TWR-MPC5125 User Manual

Made by 

www.

.com

semiconductor

27

TWR-MPC 5125

Summary of Contents for TWR-MPC5125

Page 1: ...TWR MPC5125 User Manual semiconductor...

Page 2: ...ns 3 1 Switch Settings 3 2 Sw7 Power On Reset 3 3 Sw1 Boot Mode 3 4 Configuration Header Settings 5 1 Central Processing Unit 5 2 Power supplies 5 3 Resets 5 4 Memory 6 1 Host Computer Setup 6 2 Targe...

Page 3: ...onnectors jumpers switches and main components of the MPC5125 board Refer to Figures 1 and 2 for location of the devices referenced below SW1 System Config Switch CN1 RJ45 Ethernet Connector J33 Depop...

Page 4: ...with their recommended settings can be found in Section 3 of this manual 1 U2 Ethernet PHY U10 NAND Flash Memory 28 30 Figure 2 J2 JTAG Connector Connector J2 is a 16 pin header used for the COP JTAG...

Page 5: ...mini AB connector that is compatible with the USB 2 0 format CN3 HDMI Connector CN3 is a HDMI interface U20 HMDI Transmitter U20 is a HDMI transmitter J27 Dual Ethernet Jumper J27 is the dual Ethernet...

Page 6: ...onfiguration header settings A BDM module can be connected as shown to debug code running on the Debug MCU U14 Debug MCU U14 is Debug MCU which performs the USB to MPC5125 debug bridge from the USB De...

Page 7: ...Termination Jumper J31 is the CAN jumper location Connecting a jumper across the terminals will add termination to the CAN interface which is normally not terminated J34 CAN Connector J34 is a CAN co...

Page 8: ...ideo audio port with HDMI to DVI D adaptor RJ 45 10 100 Base T Ethernet port Mini AB USB2 0 OTG USB host to hub keyboard mouse sound card WiFi USB device to external USB host system On board microphon...

Page 9: ...cteristics Board Size Freescale Tower specification 59mm x 90mm Power Requirement 5VDC Operating Temperature 0 to 70 Weight 50g RoHS Compliant FCC CE Compliant TWR MPC5125 User Manual Made by www com...

Page 10: ...for the hardware on the MPC5125 3 3 Sw1 Boot Mode The mode switch provides configure the different operation of the MPC5125 TWR MPC5125 User Manual Made by www com semiconductor SW1 Position Reset Con...

Page 11: ...w com semiconductor 3 4 2 J4 Debug MCU mode 3 4 Short Bootloader mode 3 4 Open UART to USB bridge mode 3 4 1 J4 USB Debug Port Mode This Jump is function select 1 2 Short USB Debug Port 1 2 Open Seria...

Page 12: ...y and custom interfaces so the embedded systems engineer can obtain a lower overall parts cost using a variety of fixed and user selectable options These options inherently are contained in connectors...

Page 13: ...face 5 2 Power supplies The MPC5125 accepts 5Volts only Power Sequencing Power sequencing rules require that the IO voltage rail is powered before the Core Voltages 5 3 Resets SW1 is a push button tha...

Page 14: ...is 32 bits wide single bank 200MHz clock frequency no ECC It uses the MPC5125 DDR2 SDRAM controller and is directly connection to the MPC5125 5 4 2 NAND FLASH Dedicated NAND FLASH memory is directly...

Page 15: ...o iptables F 2 Install tftp server on the host computer 3 Install nfs server on the host computer 4 Create the tftpboot directory if it does not already exist sudo mkdir p tftpboot sudo chmod 777 tftp...

Page 16: ...chars even parity 5 Power on board and see the u boot bootup message U Boot 2009 03 00012 g21a175a dirty Jan 21 2010 11 03 07 MPC5125 CPU MPC5125 rev 1 0 Core e300c4 at 400 MHz CSB at 200 MHz board mp...

Page 17: ...b To boot that kernel without an initrd image use a for the second argument If you do not pass a third a bd_info struct will be passed instead If the help message indicates that bootm takes three argu...

Page 18: ...tfile run nfsargs addip addtty bootm kernel_addr_r fdt_addr_r net_self tftp kernel_addr_r bootfile tftp ramdisk_addr_r ramdiskfile tftp fdt_addr_r fdtfile run ramargs addip addtty bootm kernel_addr_r...

Page 19: ...ard s network configuration using values appropriate for your installation 4 Set some pathnames needed later setenv ipaddr 172 27 152 21 setenv serverip 172 27 152 6 setenv netmask 255 255 0 0 setenv...

Page 20: ...root dev nfs rw nfsroot serverip rootpath proto tcp nolock console consoledev baudrate othbootargs tftp loadaddr bootfile tftp fdtaddr fdtfile bootm loadaddr fdtaddr 3 Now boot the board run nfsboot...

Page 21: ...ramdisk_ld_addr fdt_ld_addr setenv kernel_ld_addr 0x2000000 setenv fdt_ld_addr 0x2800000 setenv ramdisk_ld_addr 0x3000000 setenv kernel_name vmlinux 5125 twr bin setenv fdt_name mpc5125 twr dtb seten...

Page 22: ...the environment variable ARCH CROSS_COMPILE and PATH Set environment variables script file ppc 1 Build U boot make distclean make ads5125_nand_config make j 4 7 1 Cross compilation settings bin sh TOO...

Page 23: ..._FILE 1 if DTB_FILE dtb then echo basename 0 DTB_FILE output file type error exit 1 fi fi arch powerpc boot dtc I dts O dtb S 0x3000 o DTB_FILE DTS_FILE Uncompress the kerenl uImage script file mkvm b...

Page 24: ...en My Computer on the desktop select Menu Tools Map Network Drive Like the following configuration Drive Z Folder server_ip U Boot code directory on linux server Configure the samba server on the linu...

Page 25: ...s work 2 Settings Edit Default Project Settings Target Settings Panels Debugger EPPC Debugger Settings Processor 52xx Target 5125 Use Target Initialization File 5125 twr init cfg this is important ini...

Page 26: ...x4000000 0x100 0x40000 file size nand_r 0x2000000 0x100 0x800 md 0x2000000 7 Reboot u boot reset 8 1 2 Comm nd line method a 1 Run CodeWarrior Connection Server C Program Files Freescale CodeWarrior f...

Page 27: ...1 Device tree 8 3 Upgrade Filesystem from a USB Disk 26 TWR MPC 5125 TWR MPC5125 User Manual Made by www com semiconductor 1 Copy the ram file system rootfs ext2 gz uboot common to tftpboot on the hos...

Page 28: ...tmp mtd sudo mount t vfat dev sda1 tmp udisk sudo mount t yaffs2 dev mtdblock6 tmp mtd sudo tar xpf tmp udisk ROOTFS_PACKAGE tar C tmp mtd sudo umount tmp mtd sudo umount tmp udisk TWR MPC5125 User M...

Page 29: ...Pin No Description 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 MPC JTAG COP TDO NC MPC JTAG COP TDI MPC JTAG TRST NC 3 3V DC MPC JTAG TCK NC MPC JTAG TMS NC MPC SRESET GND HRESET NC MPC CKSTP OUT GND 28 T...

Page 30: ...0xFFF0 0000 0x4000 0000 0x3000 0000 IMMR_0x3000 IMMR_0x1 0000 IMMR_0x1 1100 IMMR_0x1 1900 IMMR_0x0 1720 IMMR_0x0 1740 IMMR_0x0 2800 0x803F FFFF 0x0FFF FFFF 0xFFFF FFFF 0x400F FFFF 0x3001 FFFF IMMR_3F...

Page 31: ...Made by www com...

Reviews: