freeoicq
驱动牛犊
驱动牛犊
  • 注册日期2007-09-26
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
阅读:2190回复:0

Announcement of Linux Ported to NXP/TM1500 DSP

楼主#
更多 发布于:2008-04-30 15:37
After a period of hard work, the first version of Linux on TM1500 now born. Now it support PCI for usb/net and so on, the next work is to make a app loader to allow run app in linux.Following is the output of my linux on tm1500 board:

<5>Linux version 2.6.22.18(root@linux-o4nt) () #0 Tue Apr 29 02:45:21 CST 2008
uClinux NXP/TM1500
<6>Target Hardware: NXP/TM1500
<6>Trimedia DSP support by hkrred <hkrred@gmail.com>
start_mem is 0x2700000
virtual_end is 0x3000000
before free_area_init
free_area_init -> start_mem is 0x2700000
virtual_end is 0x3000000
<7>On node 0 totalpages: 12288
<7>  DMA zone: 0 pages used for memmap
<7>  Normal zone: 120 pages used for memmap
<7>  Normal zone: 12168 pages, LIFO batch:1
Built 1 zonelists.  Total pages: 12168
<5>Kernel command line: console=ttyS0,19200 root=/dev/ram initrd=0x44fc1f,3000000 rw keepinitrd
<7>
0062e690: <7>000decc0 <7>000dee4f <7>001a9ac6 <7>0025b602 <7>002b9b04 <7>002bb305 <7>002be8c4 <7>002c0b05 <7>
0062e6b0: <7>002c4985 <7>002c57c4 <7>002c6b44 <7>002c80c5 <7>002ca104 <7>002cb185 <7>002cc8c5 <7>002d0804 <7>
0062e6d0: <7>002d1644 <7>002d2705 <7>002d3d45 <7>002d4e85 <7>002d7f84 <7>002d9185 <7>002dc204 <7>002deb04 <7>
0062e6f0: <7>002e0303 <7>002e14c4 <7>002e2684 <7>002e4e44 <7>002e5ec4 <7>002ea784 <7>002ebd84 <7>0025b457 <7>
<6>init_IRQ ok
PID hash table entries: 256 (order: 8, 1024 bytes)
<6>pidhash_init ok
<6>init_timers ok
<6>hrtimers_init ok
<6>softirq_init ok
<6>timekeeping_init ok
TIMER1=0x00100c00
TIMER_TICKS_PER_SEC / HZ=0x001e6000
CONFIG_BOARD_CPU_HZ / 1000000=0x000000c7
TIMER_TICKS_PER_SEC=0x0bdd8000
TIMER1_INT=0x00000005
PRESCALE=0x00000000
CPU_PRESCALE=0x00000001
RUN=0x00000001
HZ=0x00000064
TIMER_TICKS_PER_SEC=0x0bdd8000
CONFIG_BOARD_CPU_HZ=0x0bdd8000
199 MHz TM (199065600 ticks/sec)
<6>time_init ok
<6>profile_init ok
<6>early_boot_irqs_on ok
<6>local_irq_enable ok
<6>call console_init...
<6>console_init ok
<6>lockdep_info ok
<6>locking_selftest ok
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>vfs_caches_init_early ok
<6>cpuset_init_early ok
<7>Mem_init: start=2700000, end=3000000
<6>Memory available: 8492k/9216k RAM, 0k/0k ROM (36864k kernel code, 2048k data)
<6>mem_init ok
<6>kmem_cache_init ok
<6>setup_per_cpu_pageset ok
<6>numa_policy_init ok
<6>late_time_init ok
<6>calibrate_delay ...
<7>Calibrating delay loop... 56.72 BogoMIPS (lpj=283648)
<6>calibrate_delay ok
<6>pidmap_init ok
<6>pgtable_cache_init ok
<6>anon_vma_init ok
<6>fork_init ok
<6>proc_caches_init ok
<6>buffer_init ok
<6>unnamed_dev_init ok
<6>key_init ok
<6>security_init ok
Mount-cache hash table entries: 512
<6>vfs_caches_init ok
<6>radix_tree_init ok
<6>signals_init ok
<6>page_writeback_init ok
<6>proc_root_init ok
<6>taskstats_init_early ok
<6>delayacct_init ok
<6>check_bugs ok
<6>acpi_early_init ok
<6>die.....
<6>kernel_init:Enter
<6>init:set_cpus_allowed ok
<6>init:smp_prepare_cpus ok
<6>init:do_pre_smp_initcalls ok
<6>init:smp_init ok
<6>init:sched_init_smp ok
<6>init:cpuset_init_smp ok
<7>DEV: registering device: ID = 'platform'
<7>bus type 'platform' registered
<7>Registering sysdev class '<NULL>'
do_initcalls:__initcall_start=0x0061e004
do_initcalls:__initcall_end=0x0061f004
<6>NET: Registered protocol family 16
<7>device class 'pci_bus': registering
<7>bus type 'pci' registered
<7>device class 'tty': registering
triemdia_pci_init:vendorId=0x00005405
triemdia_pci_init:deviceId=0x00001131
Linux/TriMedia PCI BIOS32 revision 0.01
...NOT modifying existing PCI configuration
<7>DEV: registering device: ID = 'pci0000:00'
<7>CLASS: registering class device: ID = '0000:00'
<7>class_uevent - name = 0000:00
<7>PCI: Scanning bus 0000:00
<7>PCI: Found 0000:00:0b.0 [1131/1561] 000c03 00
<7>PCI: Calling quirk 00066900 for 0000:00:0b.0
<7>PCI: Calling quirk 00066900 for 0000:00:0b.0
<7>PCI: Found 0000:00:0b.2 [1131/1562] 000c03 00
<7>PCI: Calling quirk 00066900 for 0000:00:0b.2
<7>PCI: Calling quirk 00066900 for 0000:00:0b.2
<7>PCI: Found 0000:00:0b.4 [1131/1561] 000c03 00
<7>PCI: Calling quirk 00066900 for 0000:00:0b.4
<7>PCI: Calling quirk 00066900 for 0000:00:0b.4
<7>PCI: Found 0000:00:0b.6 [1131/1562] 000c03 00
<7>PCI: Calling quirk 00066900 for 0000:00:0b.6
<7>PCI: Calling quirk 00066900 for 0000:00:0b.6
<7>PCI: Fixups for bus 0000:00
<7>PCI: Bus scan for 0000:00 returning with max=00
<7>DEV: registering device: ID = '0000:00:0b.0'
<7>bus pci: add device 0000:00:0b.0
<7>DEV: registering device: ID = '0000:00:0b.2'
<7>bus pci: add device 0000:00:0b.2
<7>DEV: registering device: ID = '0000:00:0b.4'
<7>bus pci: add device 0000:00:0b.4
<7>DEV: registering device: ID = '0000:00:0b.6'
<7>bus pci: add device 0000:00:0b.6
PCI: 0000:00:0b.0 swizzling pin 1 => pin 1 slot 11
PCI: 0000:00:0b.0 mapping slot 11 pin 1 => irq 1
PCI: Assigning IRQ 01 to 0000:00:0b.0
PCI: 0000:00:0b.2 swizzling pin 1 => pin 1 slot 11
PCI: 0000:00:0b.2 mapping slot 11 pin 1 => irq 1
PCI: Assigning IRQ 01 to 0000:00:0b.2
PCI: 0000:00:0b.4 swizzling pin 1 => pin 1 slot 11
PCI: 0000:00:0b.4 mapping slot 11 pin 1 => irq 1
PCI: Assigning IRQ 01 to 0000:00:0b.4
PCI: 0000:00:0b.6 swizzling pin 1 => pin 1 slot 11
PCI: 0000:00:0b.6 mapping slot 11 pin 1 => irq 1
PCI: Assigning IRQ 01 to 0000:00:0b.6
PCI: bus 0, slot 0x0b  VID 0x1131  DID 0x1561  class 0xc0310
MEM: 0-0
PCI: bus 0, slot 0x0b  VID 0x1131  DID 0x1562  class 0xc0320
MEM: 15001000-15001100
PCI: bus 0, slot 0x0b  VID 0x1131  DID 0x1561  class 0xc0310
MEM: 0-0
PCI: bus 0, slot 0x0b  VID 0x1131  DID 0x1562  class 0xc0320
MEM: 15001000-15001100
Bus[0] has 4 PCI devices
Total 1 Bus, 4 PCI devices
<7>device class 'misc': registering
<7>device class 'pcmcia_socket': registering
<7>bus type 'usb' registered
<7>device class 'usb_host': registering
<7>bus usb: add driver usbfs
<6>usbcore: registered new interface driver usbfs
<7>device class 'usb_device': registering
<7>bus usb: add driver hub
<6>usbcore: registered new interface driver hub
<7>bus usb: add driver usb
<6>usbcore: registered new device driver usb
<7>device class 'net': registering
<7>device class 'mem': registering
<7>DEV: registering device: ID = 'mem'
<7>DEV: registering device: ID = 'kmem'
<7>DEV: registering device: ID = 'null'
<7>DEV: registering device: ID = 'port'
<7>DEV: registering device: ID = 'zero'
<7>DEV: registering device: ID = 'full'
<7>DEV: registering device: ID = 'random'
<7>DEV: registering device: ID = 'urandom'
<7>DEV: registering device: ID = 'kmsg'
<7>device class 'firmware': registering
<7>bus type 'pcmcia' registered
<6>NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 24576 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
<6>TCP: Hash tables configured (established 2048 bind 2048)
<6>TCP reno registered
populate_rootfs:__initramfs_start=0x0044f5d9
populate_rootfs:__initramfs_end=0x0044f65e
populate_rootfs:initrd_start=0x0044fc1f
populate_rootfs:initrd_end=0x005f941f
populate_rootfs:unpack_to_rootfs err=0x00000000
<6>checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
write /initrd.image 0x001a9800 bytes
Freeing initrd memory: 426k freed
<7>Registering sysdev class '<NULL>'
<7>Registering sys device 'timekeeping0'
<7>Registering sysdev class '<NULL>'
<7>Registering sys device 'clocksource0'
<7>PCI: Calling quirk 00066900 for 0000:00:0b.0
<7>PCI: Calling quirk 00066900 for 0000:00:0b.2
<7>PCI: Calling quirk 00066900 for 0000:00:0b.4
<7>PCI: Calling quirk 00066900 for 0000:00:0b.6
<6>io scheduler noop registered
<6>io scheduler anticipatory registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>pci_hotplug: PCI Hot Plug PCI Core version: 0.5
<7>DEV: registering device: ID = 'tty'
<7>DEV: registering device: ID = 'console'
RAMDISK driver initialized: 2 RAM disks of 4096K size 1024 blocksize
<6>loop: module loaded
<7>DEV: registering device: ID = 'lo'
<7>ehci_hcd: block sizes: qh 120 qtd 72 itd 164 sitd 68
<7>bus pci: add driver ehci_hcd
<7>pci: Matched Device 0000:00:0b.2 with Driver ehci_hcd
<7>pci: Probing driver ehci_hcd with device 0000:00:0b.2
<7>PCI: Calling quirk 00066900 for 0000:00:0b.2
<7>ehci_hcd 0000:00:0b.2: usb_hcd_pci_probe:controller hcd->rsrc_start=0x15001000
<7>ehci_hcd 0000:00:0b.2: usb_hcd_pci_probe:controller hcd->rsrc_len=0x00000101
<6>ehci_hcd 0000:00:0b.2: EHCI Host Controller
<7>CLASS: registering class device: ID = 'usb_host1'
<7>class_uevent - name = usb_host1
<7>class_device_create_uevent called for usb_host1
<7>drivers/usb/core/inode.c: creating file 'devices'
<7>drivers/usb/core/inode.c: creating file '001'
<6>ehci_hcd 0000:00:0b.2: new USB bus registered, assigned bus number 1
<4>ehci_hcd 0000:00:0b.2: ehci_pci_setup:ehci->caps=0x15001000
<4>ehci_hcd 0000:00:0b.2: ehci_pci_setup:ehci->regs=0x15001020
<7>ehci_hcd 0000:00:0b.2: reset hcs_params 0x2292 dbg=0 cc=2 pcc=2 ports=2
<7>ehci_hcd 0000:00:0b.2: reset portroute 1 0
<7>PCI: Enabling Mem-Wr-Inval for device 0000:00:0b.2
<7>ehci_hcd 0000:00:0b.2: MWI active
<7>ehci_hcd 0000:00:0b.2: ...powerdown ports...
<7>ehci_hcd 0000:00:0b.2: supports USB remote wakeup
<6>ehci_hcd 0000:00:0b.2: irq 1, io mem 0x15001000
<7>ehci_hcd 0000:00:0b.2: reset command 000002 (park)=0 ithresh=0 period=1024 Reset HALT
<7>ehci_hcd 0000:00:0b.2: init command 010009 (park)=0 ithresh=1 period=256 RUN
<6>ehci_hcd 0000:00:0b.2: USB 2.0 started, EHCI 0.00, driver 10 Dec 2004
<7>usb usb1: USB quirks for this device: 75766564
<7>usb usb1: default language 0x0409
<7>usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb1: Product: EHCI Host Controller
<6>usb usb1: Manufacturer: uClinux 2.6.22.18-ADI-2008R1-smp ehci_hcd
<6>usb usb1: SerialNumber: 0000:00:0b.2
<7>DEV: registering device: ID = 'usb1'
<7>bus usb: add device usb1
<7>usb usb1: uevent
<7>usb: Matched Device usb1 with Driver usb
<7>usb: Probing driver usb with device usb1
<7>usb usb1: usb_probe_device
<7>device class 'usb_endpoint': registering
<7>DEV: registering device: ID = 'usbdev1.1_ep00'
<6>usb usb1: configuration #1 chosen from 1 choice
<7>usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>DEV: registering device: ID = '1-0:1.0'
<7>bus usb: add device 1-0:1.0
<7>usb 1-0:1.0: uevent
<7>usb 1-0:1.0: uevent
<7>usb: Matched Device 1-0:1.0 with Driver hub
<7>usb: Probing driver hub with device 1-0:1.0
<7>hub 1-0:1.0: usb_probe_interface
<7>hub 1-0:1.0: usb_probe_interface - got id
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 port detected
<7>hub 1-0:1.0: standalone hub
<7>hub 1-0:1.0: individual port power switching
<7>hub 1-0:1.0: individual port over-current protection
<7>hub 1-0:1.0: Single TT
<7>hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
<7>hub 1-0:1.0: power on to power good time: 20ms
<7>hub 1-0:1.0: local power source is good
<7>hub 1-0:1.0: enabling power on all ports
<7>bound device '1-0:1.0' to driver 'hub'
<7>usb: Bound Device 1-0:1.0 to Driver hub
<7>DEV: registering device: ID = 'usbdev1.1_ep81'
<7>hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
<7>DEV: registering device: ID = 'usbdev1.1'
<7>drivers/usb/core/inode.c: creating file '001'
<7>bound device 'usb1' to driver 'usb'
<7>usb: Bound Device usb1 to Driver usb
<7>bound device '0000:00:0b.2' to driver 'ehci_hcd'
<7>pci: Bound Device 0000:00:0b.2 to Driver ehci_hcd
<7>pci: Matched Device 0000:00:0b.6 with Driver ehci_hcd
<7>pci: Probing driver ehci_hcd with device 0000:00:0b.6
<7>PCI: Calling quirk 00066900 for 0000:00:0b.6
<7>ehci_hcd 0000:00:0b.6: usb_hcd_pci_probe:controller hcd->rsrc_start=0x15001000
<7>ehci_hcd 0000:00:0b.6: usb_hcd_pci_probe:controller hcd->rsrc_len=0x00000101
<7>ehci_hcd 0000:00:0b.6: controller already in use
<3>ehci_hcd 0000:00:0b.6: init 0000:00:0b.6 fail, -16
<4>ehci_hcd: probe of 0000:00:0b.6 failed with error -16
<6>USB Universal Host Controller Interface driver v3.0
<7>bus pci: add driver uhci_hcd
<6>sl811: driver sl811-hcd, 19 May 2005
<7>bus platform: add driver sl811-hcd
<7>bus usb: add driver libusual
<6>usbcore: registered new interface driver libusual
<7>bus usb: add driver cypress_cy7c63
<6>usbcore: registered new interface driver cypress_cy7c63
<7>bus usb: add driver usbtest
<6>usbcore: registered new interface driver usbtest
<6>TCP cubic registered
<6>NET: Registered protocol family 10
<6>IPv6 over IPv4 tunneling driver
<7>DEV: registering device: ID = 'sit0'
<6>NET: Registered protocol family 4
<6>init:do_basic_setup ok
<6>init:call prepare_namespace ...
<7>driver_probe_done: probe_count = 0
initrd_load:create_dev /deErd_load_image:sys_open in_fd=0xfffffffe
List of all partitions:
No filesystem could mount root, tried:  ext2 cramfs romfs
<0>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
游客

返回顶部