Re: Linux on Toradex Colibri PXA320

Marek Vasut <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Organization Hack&Dev
Message-ID <[email protected]>
Dne Čt 19. listopadu 2009 09:40:30 Semakin Dennis napsal(a):
> 18.11.09, 18:05, "Daniel Mack" <[email protected]>:
> > On Wed, Nov 18, 2009 at 05:58:15PM +0100, Marek Vasut wrote:
> >  > Dne St 18. listopadu 2009 14:53:10 Daniel Mack napsal(a):
> >  > > On Wed, Nov 18, 2009 at 06:40:56AM -0600, Eric Miao wrote:
> >  > > > 2009/11/18 Семакин Денис :
> >  > > > > 2. There are some problems with networking. When I ping the
> >  > > > > host, passes a lot of time to host "ping-reply". There is only
> >  > > > > one switch between my host and board with Linux. All settings
> >  > > > > (ip, route, etc...) are correct. Telnet works with very small
> >  > > > > speed. What is problem? Is it driver problem or MII interface
> >  > > > > problem? NIC driver is ax88796, which is used only Remote DMA
> >  > > > > mode.
> >  > >
> >  > > That's something I never heard about. Ethernet was working properly
> >  > > here ever since I tried it. More information would indeed be
> >  > > important.
> >  >
> >  > Maybe you don't have MAC address set properly for the card ? Some
> >  > networking hardware can have problems with MAC that's all zeroes...
> >
> >  In that case, the kernel should make up a random MAC. Anyway, the kernel
> >  log output will tell.
> >
> >  Daniel
> 
> Thanks everybody.
> Here is dmesg output log. The list is not complete, but the bacic moments I
>  think are shown //begin
> Toradex Windows CE Bootloader 3.4 BETA 4 for Colibri Built Sep 22 2009
> 
> Press [SPACE] to enter Bootloader Menu
> 
> Module HW V1.2E  SerialNb: 2215423
> NAND Flash K9K: 1003 MB, SDRAM: 128 MB
> Core Voltage: 1400 mV
> CPU: PXA320 806 (403), HSIO: 208, MEM: 208, DDRRAM: 260, SRAM: 312, LCD:
>  208 Set MAC: 00:14:2D:21:CD:FF
> Linux image found.
> Copying IMAGE(1951624) from FLASH(00081000) to RAM(80100000), using ECC...
> Jumping to image at 0x80100000...
> Uncompressing
>  Linux.............................................................
>  ............................................................ done, booting
>  the kernel.
> <5>[    0.000000] Linux version 2.6.31 (den@localhost) (gcc version 4.2.4)
>  #331 Wed Nov 18 13:13:37 MSK 2009
> <4>[    0.000000] CPU: XScale-V3 based processor [69056826] revision 6
>  (ARMv5TE) , cr=0000397f
> <4>[    0.000000] CPU: VIVT data cache, VIVT instruction cache
> <4>[    0.000000] Machine: Toradex Colibri PXA320
> <4>[    0.000000] Memory policy: ECC disabled, Data cache writeback
> <7>[    0.000000] On node 0 totalpages: 32768
> <7>[    0.000000] free_area_init_node: node 0, pgdat c03bee28, node_mem_map
>  c03f 4000
> <7>[    0.000000]   Normal zone: 256 pages used for memmap
> <7>[    0.000000]   Normal zone: 0 pages reserved
> <7>[    0.000000]   Normal zone: 32512 pages, LIFO batch:7
> <6>[    0.000000] RO Mode clock: 60.00MHz (inactive)
> <6>[    0.000000] Run Mode clock: 403.00MHz (*31)
> <6>[    0.000000] Turbo Mode clock: 806.00MHz (*2, active)
> <6>[    0.000000] HSIO bus clock: 208.00MHz
> <4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on. 
>  Total pages: 32512
> <5>[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rootdelay=5
> <4>[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
> <6>[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
>  bytes) <6>[    0.000000] Inode-cache hash table entries: 8192 (order: 3,
>  32768 bytes) <6>[    0.000000] Memory: 128MB = 128MB total
> <5>[    0.000000] Memory: 125752KB available (3516K code, 379K data, 108K
>  init, 0K highmem)
> <6>[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0,
>  CPUs=1 , Nodes=1
> <6>[    0.000000] NR_IRQS:192
> <4>[    2.906704] Console: colour dummy device 80x30
> <6>[    2.963112] console [tty0] enabled
> <6>[    3.007195] Calibrating delay loop... 804.45 BogoMIPS (lpj=4022272)
> <6>[    3.305641] Security Framework initialized
> <4>[    3.357872] Mount-cache hash table entries: 512
> <6>[    3.415744] CPU: Testing write buffer coherency: failed, enabling
>  work-aro und
> <6>[    3.508088] XScale3 L2 cache enabled.
> <6>[    3.555930] NET: Registered protocol family 16
> <6>[    3.615891] colibri_pxa3xx_init_eth(): no valid serial boot tag
>  found, tak ing MAC from device
> <6>[    3.721918] [DDD] Set Calc: 800x600x60 mode
> <4>[    3.784387] bio: create slab <bio-0> at 0
> <5>[    3.836826] SCSI subsystem initialized
> <6>[    3.885505] usbcore: registered new interface driver usbfs
> <6>[    3.955598] usbcore: registered new interface driver hub
> <6>[    4.022662] usbcore: registered new device driver usb
> <6>[    4.087428] NET: Registered protocol family 8
> <6>[    4.142793] NET: Registered protocol family 20
> <6>[    4.200769] NET: Registered protocol family 2
> <6>[    4.256133] Switched to NOHz mode on CPU #0
> <6>[    4.309513] IP route cache hash table entries: 1024 (order: 0, 4096
>  bytes) <6>[    4.395380] TCP established hash table entries: 4096 (order:
>  3, 32768 byte s)
> <6>[    4.483232] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
> <6>[    4.563667] TCP: Hash tables configured (established 4096 bind 4096)
> <6>[    4.643058] TCP reno registered
> <6>[    4.683902] NET: Registered protocol family 1
> <4>[    4.739685] NetWinder Floating Point Emulator V0.97 (double
>  precision) <6>[    4.835058] JFFS2 version 2.2. (NAND) A╘ 2001-2006 Red
>  Hat, Inc. <6>[    4.911837] JFS: nTxBlock = 983, nTxLock = 7869
> <6>[    4.973365] alg: No test for stdrng (krng)
> <6>[    5.025699] io scheduler noop registered
> <6>[    5.075945] io scheduler anticipatory registered
> <6>[    5.134548] io scheduler deadline registered
> <6>[    5.189077] io scheduler cfq registered (default)
> <4>[    5.543932] Console: switching to colour frame buffer device 100x37
> <6>[    5.629590] PXA Overlay driver loaded successfully!
> <6>[    5.943183] pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a
>  FFUART <6>[	6.031487] pxa2xx-uart.0: ttyS0 at MMIO 0x40200000 (irq = 21)
>  is a BTUART <6>[	6.031487] pxa2xx-uart.0: ttyS0 at MMIO 0x40700000 (irq =
>  20) is a STUART ax88796 ax88796.): 16bit, irq 100, c891a000, MAC
>  00:ff:ff:ff:ff:ff console [netcon0] enabled
> 		netconsole: network logging started
> 		NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V
>  8-bit) Scanning device for bad blocks
> 		command execution timed out
> 		Bad eraseblock 0 at 000000000000
> 		Creating 4 MTD partitions on "NAND 1CiB 3,3V 8 bit":
> 		0x000000000000-0x000000080000  :  "bootloader"
> 		0x000000080000-0x000000480000  :  "kernel"
> 		0x000000480000-0x000000580000  :  "reserved"
> 		0x000000580000-0x000040000000  :  "fs"
> 		usbmon: debugfs is not available
> 		ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> 		pxa27x-ohci pxa27x-ohci: PXA27x OHCI
> 		pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
> 		pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
> 		usb usb1: New USB device found, idVendor=1d6b, idProduct=2,
>  SerialNumber=1 usb usb1: New USB device strings: Mfr-3, Product=2,
>  SerialNumber=1 usb usb1: Product: PXA27x OHCI
> 		usb usb1: Manufactured: Linux 2.6.31 ohci_hcd
> 		usb usb1: SerialNumber: pxa27x
> 		usb usb1: configuration #1 chosen from choice
> 		hub 1-0:1.0: USB hub found
> 		hub 1-0:1.0: 3 ports detected
> //end
> 
I can send you a custom bootloader image (replacement for eboot) if you wanna 
try with that. Apparently, the MAC address is fscked up anyway and I have no 
problems with my loader.

_______________________________________________
linux-arm mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.