友善官方Mini2440 Linux移植开发实战指南问题总结Word格式文档下载.docx
《友善官方Mini2440 Linux移植开发实战指南问题总结Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《友善官方Mini2440 Linux移植开发实战指南问题总结Word格式文档下载.docx(19页珍藏版)》请在冰豆网上搜索。
![友善官方Mini2440 Linux移植开发实战指南问题总结Word格式文档下载.docx](https://file1.bdocx.com/fileroot1/2022-11/30/c1972a62-7a12-4c37-b4db-fe49faa4095b/c1972a62-7a12-4c37-b4db-fe49faa4095b1.gif)
在staticvoid__initmini2440_map_io(void)
{
}
中加入以下代码:
s3c_device_nand.dev.platform_data=&
mini2440_nand_info;
3.8章节
完全按照此章节修改好程序后,编译下载到开发板,并下载自已制作适合自已开发板(64M)的文件系统,后出现下面的问题
#####FriendlyARMBIOSfor2440#####
[x]bonpart0320k2368k
[v]Downloadvivi
[k]Downloadlinuxkernel
[y]Downloadroot_yaffsimage
[a]AbsoluteUserApplication
[n]DownloadNboot
[l]DownloadWinCEboot-logo
[w]DownloadWinCENK.bin
[d]Download&
Run
[z]DownloadzImageintoRAM
[g]BootlinuxfromRAM
[f]Formatthenandflash
[b]Bootthesystem
[s]Setthebootparameters
[u]BackupNANDFlashtoHOSTthroughUSB(upload)
[r]RestoreNANDFlashfromHOSTthroughUSB
[q]Gotoshellofvivi
[i]Version:
1026-12
Enteryourselection:
b
Copylinuxkernelfrom0x00060000to0x30008000,size=0x00500000...done
zImagemagic=0x016f2818
Setuplinuxparametersat0x30000100
linuxcommandlineis:
"
noinitrdroot=/dev/mtdblock3init=/linuxrcconsole=ttySA
C0"
MACH_TYPE=1999
NOW,BootingLinux......
UncompressingLinux.............................................................
......................................................................done,boo
tingthekernel.
Linuxversion2.6.32.2(root@localhost.localdomain)(gccversion4.4.3(ctng-1.6
.1))#8WedJul617:
00:
40CST2011
CPU:
ARM920T[41129200]revision0(ARMv4T),cr=c0007177
VIVTdatacache,VIVTinstructioncache
Machine:
FriendlyARMmini2440Developboard
ATAG_INITRDisdeprecated;
pleaseupdateyourbootloader.
Memorypolicy:
ECCdisabled,Datacachewriteback
CPUS3C2440A(id0x32440001)
S3C24XXClocks,(c)2004SimtecElectronics
S3C244X:
core405.000MHz,memory101.250MHz,peripheral50.625MHz
CLOCK:
Slowmode(1.500MHz),fast,MPLLon,UPLLon
Built1zonelistsinZoneorder,mobilitygroupingon.
Totalpages:
16256
Kernelcommandline:
noinitrdroot=/dev/mtdblock3init=/linuxrcconsole=ttySAC0
PIDhashtableentries:
256(order:
-2,1024bytes)
Dentrycachehashtableentries:
8192(order:
3,32768bytes)
Inode-cachehashtableentries:
4096(order:
2,16384bytes)
Memory:
64MB=64MBtotal
60524KBavailable(3680Kcode,417Kdata,132Kinit,0Khighmem)
SLUB:
Genslabs=11,HWalign=32,Order=0-3,MinObjects=0,CPUs=1,Nodes=1
HierarchicalRCUimplementation.
NR_IRQS:
85
irq:
clearingsubpendingstatus00000003
clearingsubpendingstatus00000002
Console:
colourdummydevice80x30
console[ttySAC0]enabled
Calibratingdelayloop...201.93BogoMIPS(lpj=504832)
Mount-cachehashtableentries:
512
Testingwritebuffercoherency:
ok
NET:
Registeredprotocolfamily16
S3C2440:
Initialisingarchitecture
IRQSupport
S3C24XXDMADriver,(c)2003-2004,2006SimtecElectronics
DMAchannel0atc4808000,irq33
DMAchannel1atc4808040,irq34
DMAchannel2atc4808080,irq35
DMAchannel3atc48080c0,irq36
ClockSupport,DVSoff
bio:
createslab<
bio-0>
at0
usbcore:
registerednewinterfacedriverusbfs
registerednewinterfacedriverhub
registerednewdevicedriverusb
s3c-i2cs3c2440-i2c:
slaveaddress0x10
busfrequencysetto98KHz
i2c-0:
S3CI2Cadapter
Registeredprotocolfamily2
IProutecachehashtableentries:
1024(order:
0,4096bytes)
TCPestablishedhashtableentries:
2048(order:
TCPbindhashtableentries:
1,8192bytes)
TCP:
Hashtablesconfigured(established2048bind2048)
TCPrenoregistered
Registeredprotocolfamily1
RPC:
Registeredudptransportmodule.
Registeredtcptransportmodule.
RegisteredtcpNFSv4.1backchanneltransportmodule.
JFFS2version2.2.(NAND)©
2001-2006RedHat,Inc.
ROMFSMTD(C)2007RedHat,Inc.
yaffsJul
6201112:
49:
18Installing.
msgmnihasbeensetto118
alg:
Notestforstdrng(krng)
ioschedulernoopregistered
ioscheduleranticipatoryregistered(default)
ioschedulerdeadlineregistered
ioschedulercfqregistered
switchingtocolourframebufferdevice60x53
fb0:
s3c2410fbframebufferdevice
s3c2440-uart.0:
s3c2410_serial0atMMIO0x50000000(irq=70)isaS3C2440
s3c2440-uart.1:
s3c2410_serial1atMMIO0x50004000(irq=73)isaS3C2440
s3c2440-uart.2:
s3c2410_serial2atMMIO0x50008000(irq=76)isaS3C2440
brd:
moduleloaded
S3C24XXNANDDriver,(c)2004SimtecElectronics
s3c24xx-nands3c2440-nand:
Tacls=3,29nsTwrph0=769ns,Twrph1=329ns
NANDsoftECC
NANDdevice:
ManufacturerID:
0xec,ChipID:
0x76(SamsungNAND64MiB3,3V8-bit
)
Scanningdeviceforbadblocks
Baderaseblock3091at0x00000304c000
Creating5MTDpartitionson"
NAND64MiB3,3V8-bit"
:
0x000000000000-0x000000040000:
supervivi"
ftl_cs:
FTLheadernotfound.
0x000000040000-0x000000060000:
param"
0x000000060000-0x000000560000:
Kernel"
uncorrectableerror:
0x000000560000-0x000040560000:
root"
mtd:
partition"
extendsbeyondtheendofdevice"
-
-sizetruncatedto0x3aa0000
0x000000000000-0x000004000000:
nand"
dm9000EthernetDriver,V1.31
ohci_hcd:
USB1.1'
Open'
HostController(OHCI)Driver
s3c2410-ohcis3c2410-ohci:
S3C24XXOHCI
newUSBbusregistered,assignedbusnumber1
irq42,iomem0x49000000
usbusb1:
configuration#1chosenfrom1choice
hub1-0:
1.0:
USBhubfound
2portsdetected
registerednewinterfacedriverlibusual
mice:
PS/2mousedevicecommonforallmice
S3C24XXRTC,(c)2004,2006SimtecElectronics
i2c/deventriesdriver
S3C2410WatchdogTimer,(c)2004SimtecElectronics
s3c2410-wdts3c2410-wdt:
watchdoginactive,resetdisabled,irqenabled
cpuidle:
usinggovernorladder
sdhci:
SecureDigitalHostControllerInterfacedriver
Copyright(c)PierreOssman
registerednewinterfacedriverhiddev
registerednewinterfacedriverusbhid
usbhid:
v2.6:
USBHIDcoredriver
AdvancedLinuxSoundArchitectureDriverVersion1.0.21.
NodeviceforDAIUDA134X
NodeviceforDAIs3c24xx-i2s
ALSAdevicelist:
Nosoundcardsfound.
TCPcubicregistered
Registeredprotocolfamily17
drivers/rtc/hctosys.c:
unabletoopenrtcdevice(rtc0)
yaffs:
devis32505859nameis"
mtdblock3"
passedflags"
AttemptingMTDmounton31.3,"
block2747ismarkedbad
block2748isbad
usb1-1:
newlowspeedUSBdeviceusings3c2410-ohciandaddress2
input:
PIXARTUSBOPTICALMOUSEas/devices/platform/s3c2410-ohci/usb1/1-1/1-1:
1
.0/input/input0
generic-usb0003:
093A:
2510.0001:
input,hidraw0:
USBHIDv1.11Mouse[PIXARTUSB
OPTICALMOUSE]onusb-s3c24xx-1/input0
yaffs_read_super:
isCheckpointed0
VFS:
Mountedroot(yaffsfilesystem)ondevice31:
3.
Freeinginitmemory:
132K
Unabletohandlekernelpagingrequestatvirtualaddress5058455e
pgd=c3ac4000
[5058455e]*pgd=00000000
Internalerror:
Oops:
80000005[#1]
lastsysfsfile:
Moduleslinkedin:
0
Nottainted
(2.6.32.2#8)
PCisat0x5058455e
LRisats3c2410_nand_select_chip+0x88/0xa0
pc:
[<
5058455e>
]
lr:
c01ec5dc>
psr:
20000033
sp:
c3823a50
ip:
00000006
fp:
00000000
r10:
00000001
r9:
00011d93
r8:
r7:
02912600
r6:
00000003
r5:
c3998840
r4:
r3:
5058455f
r2:
c4c00004
r1:
00000000
r0:
c0024f2c
Flags:
nzCv
IRQson
FIQson
ModeSVC_32
ISAThumb
Segmentuser
Control:
c000717f
Table:
33ac4000
DAC:
00000015
Processlinuxrc(pid:
1,stacklimit=0xc3822270)
Stack:
(0xc3823a50to0xc3824000)
3a40:
c3887988c3887800c3823b54c01e9868
3a60:
ffffffff00000004000000100000000000000000000002000000000000000008
3a80:
00000000000000010000000100000000000000040000001f0000000000000004
3aa0:
00000001000000000000000000000000c3887800c3823b5400000200c0025000
3ac0:
00011d930291260000000000c01e9e9cc3823b54000000000000000000000000
3ae0:
000000000000000100000001000000000000000060000013c3887800c39a9400
3b00:
005600000000000000000200c002500000011d93c3823b5400000000c01ce128
3b20:
c3823b54ffffffe0023b2600c3823ba8c3813000c39a9400c3823b74c0154734
3b40:
c3823b54c3887800023b26000000000000011db3000000010000020000000000
3b60:
000000080000000000000000c0025000c3823b74c3823b98c381300000000000
3b80:
00000000c3813000c3823ba800011db300000200000000000000000000000469
3ba0:
00001000c0153314000000000000000100000bab000004680000020000000001
3bc0:
0000000000000000c3823c0c00000001c3823be0c0185c780000009a00000000
3be0:
0000009ac0025000c3ab5078c3ab507800000200c3ab5078c3813000c3ab5078
3c00:
00000200c014e7c400000000c00250000008d000000000000000000000000000
3c20:
0000008cc04424a0c3813000c3ab5078c002500000100100c341044800200200
3c40:
0