2014-02-10 07:34 PM
Just a few days ago i noticed that EmCraft released supports for the smt32f429i-disco with networking (with board modifications needed and and external PHY)
I have just tested this code on my board Note: it requires an external PHY DP83848 (available on Ebay) this can be wire-wrapped to the board Here is my console log U-Boot 2010.03-linux-cortexm-1.12.1 (Jan 21 2014 - 10:22:44) CPU : STM32F4 (Cortex-M4) Freqs: SYSCLK=180MHz,HCLK=180MHz,PCLK1=45MHz,PCLK2=90MHz Board: STM32F429-DISCOVERY Rev 1.A DRAM: 8 MB In: serial Out: serial Err: serial Net: STM32_MAC Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at 08040000 ... Image Name: Linux-2.6.33-arm1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1668000 Bytes = 1.6 MB Load Address: d0008000 Entry Point: d0008001 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Linux version 2.6.33-arm1 (root@media) (gcc version 4.4.1 (Sourcery G++ Lite 204 CPU: ARMv7-M Processor [410fc241] revision 1 (ARMv7M) CPU: NO data cache, NO instruction cache Machine: STMicro STM32 Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032 Kernel command line: stm32_platform=stm-disco console=ttyS0,115200 panic=10 ip=5 PID hash table entries: 32 (order: -5, 128 bytes) Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory: 8MB = 8MB total Memory: 6420k/6420k available, 1772k reserved, 0K highmem Virtual kernel memory layout: vector : 0x00000000 - 0x00001000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0x00000000 - 0xffffffff (4095 MB) lowmem : 0xd0000000 - 0xd0800000 ( 8 MB) modules : 0xd0000000 - 0xd0800000 ( 8 MB) .init : 0xd0008000 - 0xd0092000 ( 552 kB) .text : 0xd0092000 - 0xd018f000 (1012 kB) .data : 0xd0190000 - 0xd019f3a0 ( 61 kB) Hierarchical RCU implementation. NR_IRQS:90 Calibrating delay loop... 36.45 BogoMIPS (lpj=182272) Mount-cache hash table entries: 512 NET: Registered protocol family 16 Switching to clocksource cm3-systick NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Serial: STM32 USART driver stm32serial.0: ttyS0 at MMIO 0x40011000 (irq = 37) is a STM32 USART Port console [ttyS0] enabled blackfin-eth: found MAC at 0x40028000, irq 61 blackfin_mii_bus: probed found PHY id 0x20005c90 addr 1 eth0: using MII interface eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=00:01, irq=-1) TCP cubic registered NET: Registered protocol family 17 ARMv7-M VFP Extension supported IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.200.111, mask=255.255.255.0, gw=255.255.255.255, host=stm-disco, domain=, nis-domain=(none), bootserver=192.168.200.240, rootserver=192.168.200.240, rootpath= PHY: 00:01 - Link is Up - 100/Full Freeing init memory: 552K ~ # ~ # nslookup time.nrc.ca 192.168.200.240 Server: 192.168.200.240 Address 1: 192.168.200.240 240.200.168.192.in-addr.arpa Name: time.nrc.ca Address 1: 132.246.11.228 time.nrc.55.11.246.132.in-addr.arpa Address 2: 132.246.11.227 time.nrc.55.11.246.132.in-addr.arpa Address 3: 132.246.11.229 time.nrc.55.11.246.132.in-addr.arpa