搜索
bottom↓
回复: 11

LPC1788上移植uclinux

[复制链接]

出0入0汤圆

发表于 2013-8-4 20:07:35 | 显示全部楼层 |阅读模式
用了两天时间将uclinux移植到了LPC1788上,秀一下我的打印信息
  1. U-Boot 2010.03-00000?

  2. U-Boot 2010.03-00000-g4118c40-dirty (Aug 03 2013 - 14:33:48)

  3. CPU  : LPC178x/7x series (Cortex-M3)
  4. Freqs: SYSTICK=108MHz,EMCCLK=54MHz,PCLK=54MHz
  5. Board: LPC1788 rev 1
  6. DRAM:  32 MB
  7. NAND:  128 MiB
  8. nand_bbt: Out of memory
  9. *** Warning - bad CRC or NAND, using default environment

  10. In:    serial
  11. Out:   serial
  12. Err:   serial
  13. Net:   LPC178X_MAC
  14. Hit any key to stop autoboot:  0

  15. NAND read: device 0 offset 0x20000, size 0x500000
  16. 5242880 bytes read: OK
  17. ## Booting kernel from Legacy Image at a1000000 ...
  18.    Image Name:   Linux-2.6.33-arm1
  19.    Image Type:   ARM Linux Kernel Image (uncompressed)
  20.    Data Size:    1382048 Bytes =  1.3 MB
  21.    Load Address: a0008000
  22.    Entry Point:  a0008001
  23.    Verifying Checksum ... OK
  24.    Loading Kernel Image ... OK
  25. OK

  26. Starting kernel ...

  27. ?Linux version 2.6.33-arm1(gcc version 4.4.1 (Sourcery G++ Lite 2010q1-189) ) #2 Sat Aug 3 14:09:27 CST 2013
  28. CPU: ARMv7-M Processor [412fc230] revision 0 (ARMv7M)
  29. CPU: NO data cache, NO instruction cache
  30. Machine: NXP LPC178x/7x
  31. Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 8128
  32. Kernel command line: lpc178x_platform=lpc1788 console=ttyS0,115200 mtdparts=nand_mtd:0x20000@0x0000(u-boot-env),0x520000@0x20000(kernel),0x8000000@0x520000(rootfs) rw ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc ip=192.168.1.110:192.168.1.100:192. ethaddr=C0:B1:3C:88:88:84
  33. PID hash table entries: 128 (order: -3, 512 bytes)
  34. Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
  35. Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
  36. Memory: 32MB = 32MB total
  37. Memory: 31072k/31072k available, 1696k reserved, 0K highmem
  38. Virtual kernel memory layout:
  39.     vector  : 0x00000000 - 0x00001000   (   4 kB)
  40.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  41.     vmalloc : 0x00000000 - 0xffffffff   (4095 MB)
  42.     lowmem  : 0xa0000000 - 0xa2000000   (  32 MB)
  43.     modules : 0xa0000000 - 0x01000000   (1552 MB)
  44.       .init : 0xa0008000 - 0xa0013000   (  44 kB)
  45.       .text : 0xa0013000 - 0xa014a000   (1244 kB)
  46.       .data : 0xa014a000 - 0xa01596a0   (  62 kB)
  47. Hierarchical RCU implementation.
  48. NR_IRQS:41
  49. lpc178x_clock_init: unsupported platform 2
  50. Calibrating delay loop... 31.12 BogoMIPS (lpj=155648)
  51. Mount-cache hash table entries: 512
  52. NET: Registered protocol family 16
  53. lpc178x_flash_init: Unknown platform 0x2, exit
  54. bio: create slab <bio-0> at 0
  55. Switching to clocksource cm3-systick
  56. NET: Registered protocol family 2
  57. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  58. TCP established hash table entries: 1024 (order: 1, 8192 bytes)
  59. TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  60. TCP: Hash tables configured (established 1024 bind 1024)
  61. TCP reno registered
  62. RPC: Registered udp transport module.
  63. RPC: Registered tcp transport module.
  64. RPC: Registered tcp NFSv4.1 backchannel transport module.
  65. JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
  66. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
  67. io scheduler noop registered
  68. io scheduler deadline registered
  69. io scheduler cfq registered (default)
  70. Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
  71. serial8250.0: ttyS0 at MMIO 0x4000c000 (irq = 5) is a 16550A
  72. console [ttyS0] enabled
  73. LPC178X NAND Driver, (c) 2013 kein ye
  74. LPC178X NAND Driver, probe
  75. lpc178x-nand lpc178x-nand: failed to get clock
  76. lpc178x-nand lpc178x-nand: NAND soft ECC
  77. NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
  78. Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
  79. 0x000000000000-0x000000020000 : "u-boot-env"
  80. 0x000000020000-0x000000520000 : "kernel"
  81. 0x000000520000-0x000008000000 : "rootfs"
  82. UBI: attaching mtd2 to ubi0
  83. UBI: physical eraseblock size:   131072 bytes (128 KiB)
  84. UBI: logical eraseblock size:    129024 bytes
  85. UBI: smallest flash I/O unit:    2048
  86. UBI: sub-page size:              512
  87. UBI: VID header offset:          512 (aligned 512)
  88. UBI: data offset:                2048
  89. UBI: attached mtd2 to ubi0
  90. UBI: MTD device name:            "rootfs"
  91. UBI: MTD device size:            122 MiB
  92. UBI: number of good PEBs:        981
  93. UBI: number of bad PEBs:         2
  94. UBI: max. allowed volumes:       128
  95. UBI: wear-leveling threshold:    4096
  96. UBI: number of internal volumes: 1
  97. UBI: number of user volumes:     1
  98. UBI: available PEBs:             0
  99. UBI: total number of reserved PEBs: 981
  100. UBI: number of PEBs reserved for bad PEB handling: 9
  101. UBI: max/mean erase counter: 2/0
  102. UBI: image sequence number: 2124588576
  103. lpc-net lpc-net.0: error requesting interrupt.
  104. lpc_mii_bus: probed
  105. eth0: using RMII interface
  106. eth0: LPC mac at 0x20084000 irq 28
  107. eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
  108. TCP cubic registered
  109. NET: Registered protocol family 17
  110. UBI: background thread "ubi_bgt0d" started, PID 14
  111. IP-Config: Guessing netmask 255.255.255.0
  112. IP-Config: Gateway not on directly connected network.
  113. UBIFS: recovery needed
  114. UBIFS: recovery completed
  115. UBIFS: mounted UBI device 0, volume 0, name "rootfs"
  116. UBIFS: file system size:   101799936 bytes (99414 KiB, 97 MiB, 789 LEBs)
  117. UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
  118. UBIFS: media format:       w4/r0 (latest is w4/r0)
  119. UBIFS: default compressor: lzo
  120. UBIFS: reserved for root:  0 bytes (0 KiB)
  121. VFS: Mounted root (ubifs filesystem) on device 0:9.
  122. Freeing init memory: 44K
  123. init started: BusyBox v1.17.0 (2013-08-03 12:32:55 CST)
  124. ----------mount all
  125. ----------Starting mdev......
  126. sh: can't open '/proc/sys/kernel/hotplug': No such file or directory
  127. *********************************************************
  128.     keinYe (keinye2@gmail.com) (rootfs) 2013.07

  129. ********************************************************
  130. 192.168.1.110 login: root
  131. Password:
  132. Jan  1 00:00:15 login[20]: root login on 'console'

  133. Processing /etc/profile...
  134. Set search library path in /etc/profile
  135. Set user path in /etc/profile
  136. Set PS1 in /etc/profile
  137. Done

  138. [root@~]#
复制代码

出0入0汤圆

发表于 2013-8-4 20:32:49 | 显示全部楼层
LPC1788 比s3c24xx 系列优势在哪?楼主移植这个准备做什么用

出0入0汤圆

发表于 2013-8-4 20:44:27 | 显示全部楼层
也想知道楼主UCLINUX,做什么用?

出0入0汤圆

 楼主| 发表于 2013-8-4 21:18:42 | 显示全部楼层
Vmao 发表于 2013-8-4 20:32
LPC1788 比s3c24xx 系列优势在哪?楼主移植这个准备做什么用

仅仅作为学习用,如果做项目,确实不如S3C24xx

出0入0汤圆

发表于 2013-8-4 21:20:20 | 显示全部楼层
楼主NB,mark

出0入0汤圆

发表于 2013-8-12 10:20:17 | 显示全部楼层
楼主nb,到此一游。。。

出0入0汤圆

发表于 2013-10-19 18:37:04 | 显示全部楼层
给你们发个源码链接!http://www.lpclinux.com/Downloads/WebHome#LPC313xDownloads

出0入0汤圆

发表于 2013-10-20 17:16:23 | 显示全部楼层
主nb,到此一游。。。

出0入0汤圆

发表于 2013-10-21 21:39:59 | 显示全部楼层
有点像M4的风格啊

出0入9汤圆

发表于 2013-10-21 23:37:15 来自手机 | 显示全部楼层
可以弄来玩玩

出0入0汤圆

发表于 2013-10-22 23:48:40 | 显示全部楼层
主频比较低,实际意义确实不大

出0入0汤圆

发表于 2014-2-22 12:28:08 | 显示全部楼层
用的UBI文件系统啊,这个很好。之前是OMAP3530上也用这个
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-9 14:43

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表