ImageVerifierCode 换一换
格式:DOCX , 页数:19 ,大小:162.85KB ,
资源ID:4417237      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/4417237.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(友善官方Mini2440 Linux移植开发实战指南问题总结.docx)为本站会员(b****4)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

友善官方Mini2440 Linux移植开发实战指南问题总结.docx

1、友善官方Mini2440 Linux移植开发实战指南问题总结友善官方问题总结2011-07-06 17:20:45分类:LINUX本人是参考友善官方从第一章节开始仔细阅读和试验的,现对本书中出现的漏洞和错误之处以作笔记总结,方便自已的同时希望能对他人有所帮助hardware: mini2440(64M FLASH)platform: fedora9 under vmware未标出章节为没有错误的章节,特此说明.附标记后的友善官方PDFMini2440 Linux移植开发实战指南_note.part1.rarMini2440 Linux移植开发实战指南_note.part2.rarMini244

2、0 Linux移植开发实战指南_note.part3.rar3.7章节参照此手册完成本章节后,编译内核之前还应再修改两处,不然不出现很多错误,在此不列出错误内容.1.因为这个mach-mini2440.c是从mach-smdk2440.c处复制过来的,mach-smdk2440.c中未对nand作处理,但这里我们作处理啦,所以应在文件中加入相应的头文件#include#include#include#include#include2.不作下面的修改之前如果编译,以然会出现一个警告warning:mini2440_nand_infodefined but not used.解决方法: 在stat

3、ic void _init mini2440_map_io(void) 中加入以下代码:s3c_device_nand.dev.platform_data = &mini2440_nand_info;3.8章节 完全按照此章节修改好程序后,编译下载到开发板,并下载自已制作适合自已开发板(64M)的文件系统,后出现下面的问题# FriendlyARM BIOS for 2440 #x bon part 0 320k 2368kv Download vivik Download linux kernely Download root_yaffs imagea Absolute User Appli

4、cationn Download Nbootl Download WinCE boot-logow Download WinCE NK.bind Download & Runz Download zImage into RAMg Boot linux from RAMf Format the nand flashb Boot the systems Set the boot parametersu Backup NAND Flash to HOST through USB(upload)r Restore NAND Flash from HOST through USBq Goto shell

5、 of vivii Version: 1026-12Enter your selection: bCopy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 . donezImage magic = 0x016f2818Setup linux parameters at 0x30000100linux command line is: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0MACH_TYPE = 1999NOW, Booting Linux.U

6、ncompressing Linux. done, booting the kernel.Linux version 2.6.32.2 (rootlocalhost.localdomain) (gcc version 4.4.3 (ctng-1.6.1) ) #8 Wed Jul 6 17:00:40 CST 2011CPU: ARM920T 41129200 revision 0 (ARMv4T), cr=c0007177CPU: VIVT data cache, VIVT instruction cacheMachine: FriendlyARM mini2440 Develop boar

7、dATAG_INITRD is deprecated; please update your bootloader.Memory policy: ECC disabled, Data cache writebackCPU S3C2440A (id 0x32440001)S3C24XX Clocks, (c) 2004 Simtec ElectronicsS3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHzCLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL onBu

8、ilt 1 zonelists in Zone order, mobility grouping on. Total pages: 16256Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0PID hash table entries: 256 (order: -2, 1024 bytes)Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)Inode-cache hash table entries: 4096 (

9、order: 2, 16384 bytes)Memory: 64MB = 64MB totalMemory: 60524KB available (3680K code, 417K data, 132K init, 0K highmem)SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1Hierarchical RCU implementation.NR_IRQS:85irq: clearing subpending status 00000003irq: clearing subpending sta

10、tus 00000002Console: colour dummy device 80x30console ttySAC0 enabledCalibrating delay loop. 201.93 BogoMIPS (lpj=504832)Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okNET: Registered protocol family 16S3C2440: Initialising architectureS3C2440: IRQ SupportS3C24XX DMA Drive

11、r, (c) 2003-2004,2006 Simtec ElectronicsDMA channel 0 at c4808000, irq 33DMA channel 1 at c4808040, irq 34DMA channel 2 at c4808080, irq 35DMA channel 3 at c48080c0, irq 36S3C244X: Clock Support, DVS offbio: create slab at 0usbcore: registered new interface driver usbfsusbcore: registered new interf

12、ace driver hubusbcore: registered new device driver usbs3c-i2c s3c2440-i2c: slave address 0x10s3c-i2c s3c2440-i2c: bus frequency set to 98 KHzs3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapterNET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash

13、 table entries: 2048 (order: 2, 16384 bytes)TCP bind hash table entries: 2048 (order: 1, 8192 bytes)TCP: Hash tables configured (established 2048 bind 2048)TCP reno registeredNET: Registered protocol family 1RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tc

14、p NFSv4.1 backchannel transport module.JFFS2 version 2.2. (NAND) 2001-2006 Red Hat, Inc.ROMFS MTD (C) 2007 Red Hat, Inc.yaffs Jul 6 2011 12:49:18 Installing.msgmni has been set to 118alg: No test for stdrng (krng)io scheduler noop registeredio scheduler anticipatory registered (default)io scheduler

15、deadline registeredio scheduler cfq registeredConsole: switching to colour frame buffer device 60x53fb0: s3c2410fb frame buffer devices3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440s3c2440-uart.2: s3

16、c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440brd: module loadedS3C24XX NAND Driver, (c) 2004 Simtec Electronicss3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29nss3c24xx-nand s3c2440-nand: NAND soft ECCNAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB

17、 3,3V 8-bit)Scanning device for bad blocksBad eraseblock 3091 at 0x00000304c000Creating 5 MTD partitions on NAND 64MiB 3,3V 8-bit:0x000000000000-0x000000040000 : superviviftl_cs: FTL header not found.0x000000040000-0x000000060000 : paramftl_cs: FTL header not found.0x000000060000-0x000000560000 : Ke

18、rneluncorrectable error :uncorrectable error :0x000000560000-0x000040560000 : rootmtd: partition root extends beyond the end of device NAND 64MiB 3,3V 8-bit - size truncated to 0x3aa0000ftl_cs: FTL header not found.0x000000000000-0x000004000000 : nanduncorrectable error :uncorrectable error :dm9000

19、Ethernet Driver, V1.31ohci_hcd: USB 1.1 Open Host Controller (OHCI) Drivers3c2410-ohci s3c2410-ohci: S3C24XX OHCIs3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000usb usb1: configuration #1 chosen from 1 choicehub 1-0:1.0: USB

20、 hub foundhub 1-0:1.0: 2 ports detectedusbcore: registered new interface driver libusualmice: PS/2 mouse device common for all miceS3C24XX RTC, (c) 2004,2006 Simtec Electronicsi2c /dev entries driverS3C2410 Watchdog Timer, (c) 2004 Simtec Electronicss3c2410-wdt s3c2410-wdt: watchdog inactive, reset

21、disabled, irq enabledcpuidle: using governor laddersdhci: Secure Digital Host Controller Interface driversdhci: Copyright(c) Pierre Ossmanusbcore: registered new interface driver hiddevusbcore: registered new interface driver usbhidusbhid: v2.6:USB HID core driverAdvanced Linux Sound Architecture Dr

22、iver Version 1.0.21.No device for DAI UDA134XNo device for DAI s3c24xx-i2sALSA device list: No soundcards found.TCP cubic registeredNET: Registered protocol family 17drivers/rtc/hctosys.c: unable to open rtc device (rtc0)yaffs: dev is 32505859 name is mtdblock3yaffs: passed flags yaffs: Attempting M

23、TD mount on 31.3, mtdblock3yaffs: block 2747 is marked badblock 2748 is badusb 1-1: new low speed USB device using s3c2410-ohci and address 2usb 1-1: configuration #1 chosen from 1 choiceinput: PIXART USB OPTICAL MOUSE as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.0/input/input0generic-usb 0003:0

24、93A:2510.0001: input,hidraw0: USB HID v1.11 Mouse PIXART USBOPTICAL MOUSE on usb-s3c24xx-1/input0yaffs_read_super: isCheckpointed 0VFS: Mounted root (yaffs filesystem) on device 31:3.Freeing init memory: 132KUnable to handle kernel paging request at virtual address 5058455epgd = c3ac40005058455e *pg

25、d=00000000Internal error: Oops: 80000005 #1last sysfs file:Modules linked in:CPU: 0 Not tainted (2.6.32.2 #8)PC is at 0x5058455eLR is at s3c2410_nand_select_chip+0x88/0xa0pc : lr : psr: 20000033sp : c3823a50 ip : 00000006 fp : 00000000r10: 00000001 r9 : 00011d93 r8 : 00000000r7 : 02912600 r6 : 00000

26、003 r5 : c3998840 r4 : 00000000r3 : 5058455f r2 : c4c00004 r1 : 00000000 r0 : c0024f2cFlags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment userControl: c000717f Table: 33ac4000 DAC: 00000015Process linuxrc (pid: 1, stack limit = 0xc3822270)Stack: (0xc3823a50 to 0xc3824000)3a40: c3887988 c388780

27、0 c3823b54 c01e98683a60: ffffffff 00000004 00000010 00000000 00000000 00000200 00000000 000000083a80: 00000000 00000001 00000001 00000000 00000004 0000001f 00000000 000000043aa0: 00000001 00000000 00000000 00000000 c3887800 c3823b54 00000200 c00250003ac0: 00011d93 02912600 00000000 c01e9e9c c3823b54

28、 00000000 00000000 000000003ae0: 00000000 00000001 00000001 00000000 00000000 60000013 c3887800 c39a94003b00: 00560000 00000000 00000200 c0025000 00011d93 c3823b54 00000000 c01ce1283b20: c3823b54 ffffffe0 023b2600 c3823ba8 c3813000 c39a9400 c3823b74 c01547343b40: c3823b54 c3887800 023b2600 00000000

29、00011db3 00000001 00000200 000000003b60: 00000008 00000000 00000000 c0025000 c3823b74 c3823b98 c3813000 000000003b80: 00000000 c3813000 c3823ba8 00011db3 00000200 00000000 00000000 000004693ba0: 00001000 c0153314 00000000 00000001 00000bab 00000468 00000200 000000013bc0: 00000000 00000000 c3823c0c 00000001 c3823be0 c0185c78 0000009a 000000003be0: 0000009a c0025000 c3ab5078 c3ab5078 00000200 c3ab5078 c3813000 c3ab50783c00: 00000200 c014e7c4 00000000 c0025000 0008d000 00000000 00000000 000000003c20: 0000008c c04424a0 c3813000 c3ab5078 c0025000 00100100 c3410448 002002003c40: 0

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1