天嵌 ARM开发社区

 找回密码
 注册
查看: 5503|回复: 17

sqlite-3.7.3移植出现问题

[复制链接]
wangpeihui123 发表于 2010-12-8 19:04:06 | 显示全部楼层 |阅读模式
下载了sqlite-3.7.3源码编译安装后,按照手册上的说明都做了,,但是烧写后却打印如下信息
[root@wangpeihui /]#sqlite3
/bin/sqlite3: cd: line 1: can't cd to /opt/EmbedSky/sqlite-3.7.3
/bin/sqlite3: eval: line 1: gcc: not found
请高手指点小弟
天嵌_support1 发表于 2010-12-9 15:12:00 | 显示全部楼层
1# wangpeihui123

gcc: not found

PC的系统没有配置好。你要安装一下 gcc , g++ 这些编译用的工具
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-9 17:12:58 | 显示全部楼层
怎么编译sqlite3 源码呢,,我的编译器是arm-linux-gcc 4.4.1的
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-10 18:50:00 | 显示全部楼层
怎么配置PC啊,,,gcc,g++这些编译工具不是默认的装的有吗????
回复

使用道具 举报

天嵌_support1 发表于 2010-12-10 19:09:52 | 显示全部楼层
4# wangpeihui123


你有没有试一试就知道了嘛
gcc -v
g++ -v
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-10 22:02:18 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-10 22:03:49 | 显示全部楼层
我的gcc g++ 都没有问题啊,,,,,,,,,,斑竹
回复

使用道具 举报

天嵌_support1 发表于 2010-12-11 10:16:53 | 显示全部楼层
7# wangpeihui123


那您再编译源代码看看。再贴出所有输出信息,不要仅仅贴停止处
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-11 18:23:34 | 显示全部楼层

[root@wangpeihui EmbedSky]# cd sqlite-3.7.3/

[root@wangpeihui sqlite-3.7.3]# ls

aclocal.m4    configure.ac  ltmain.sh    README     sqlite3ext.h
config.guess  depcomp       Makefile.am  shell.c    sqlite3.h
config.sub    INSTALL       Makefile.in  sqlite3.1  sqlite3.pc
configure     install-sh    missing      sqlite3.c  sqlite3.pc.in

[root@wangpeihui sqlite-3.7.3]# ./configure

checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane...
yes
checking for gawk...
gawk
checking whether make sets $(MAKE)...
yes
checking for style of include used by make...
GNU
checking for gcc...
gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works...
yes
checking whether we are cross compiling...
no
checking for suffix of executables...

checking for suffix of object files...
o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g...
yes
checking for gcc option to accept ISO C89...
none needed
checking dependency style of gcc...
gcc3
checking for special C compiler options needed for large files...
no
checking for _FILE_OFFSET_BITS value needed for large files...
64
checking for gcc...
(cached) gcc
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc accepts -g...
(cached) yes
checking for gcc option to accept ISO C89...
(cached) none needed
checking dependency style of gcc...
(cached) gcc3
checking for ranlib...
ranlib
checking build system type...
i686-pc-linux-gnu
checking host system type...
i686-pc-linux-gnu
checking for a sed that does not truncate output...
/bin/sed
checking for grep that handles long lines and -e...
/bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld...
yes
checking for /usr/bin/ld option to reload object files...
-r
checking for BSD-compatible nm...
/usr/bin/nm -B
checking whether ln -s works...
yes
checking how to recognise dependent libraries...
pass_all
checking how to run the C preprocessor...
gcc -E
checking for ANSI C header files...
yes
checking for sys/types.h...
yes
checking for sys/stat.h...
yes
checking for stdlib.h...
yes
checking for string.h...
yes
checking for memory.h...
yes
checking for strings.h...
yes
checking for inttypes.h...
yes
checking for stdint.h...
yes
checking for unistd.h...
yes
checking dlfcn.h usability...
yes
checking dlfcn.h presence...
yes
checking for dlfcn.h...
yes
checking for g++...
g++
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g...
yes
checking dependency style of g++...
gcc3
checking how to run the C++ preprocessor...
g++ -E
checking for g77...
no
checking for xlf...
no
checking for f77...
no
checking for frt...
no
checking for pgf77...
no
checking for cf77...
no
checking for fort77...
no
checking for fl32...
no
checking for af77...
no
checking for xlf90...
no
checking for f90...
no
checking for pgf90...
no
checking for pghpf...
no
checking for epcf90...
no
checking for gfortran...
gfortran
checking whether we are using the GNU Fortran 77 compiler... yes

checking whether gfortran accepts -g... yes

checking the maximum length of command line arguments...
32768
checking command to parse /usr/bin/nm -B output from gcc object...
ok
checking for objdir...
.libs
checking for ar...
ar
checking for ranlib...
(cached) ranlib
checking for strip...
strip
checking if gcc supports -fno-rtti -fno-exceptions...
no
checking for gcc option to produce PIC...
-fPIC
checking if gcc PIC flag -fPIC works...yes

checking if gcc static flag -static works...yes

checking if gcc supports -c -o file.o...
yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in...
no
checking dynamic linker characteristics...
GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible...
yes
checking if libtool supports shared libraries...
yes
checking whether to build shared libraries...
yes
checking whether to build static libraries...
yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++...
/usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld...
yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC...
-fPIC
checking if g++ PIC flag -fPIC works...
yes
checking if g++ static flag -static works...
yes
checking if g++ supports -c -o file.o...
yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics...
GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries...
yes
checking whether to build shared libraries...
yes
checking whether to build static libraries...
yes
checking for gfortran option to produce PIC...
-fPIC
checking if gfortran PIC flag -fPIC works...
yes
checking if gfortran static flag -static works...
yes
checking if gfortran supports -c -o file.o...
yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics...
GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking for fdatasync...
yes
checking for usleep...
yes
checking for fullfsync...
no
checking for localtime_r...
yes
checking for gmtime_r...
yes
checking for library containing tgetent...
-lcurses
checking for library containing readline...
-lreadline
checking for readline...
yes
checking for library containing pthread_create...
-lpthread
checking for library containing dlopen...
-ldl
checking for whether to support dynamic extensions...
yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: executing depfiles commands

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-11 18:27:09 | 显示全部楼层
[root@wangpeihui sqlite-3.7.3]# make
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.3\" -DPACKAGE_STRING=\"sqlite\ 3.7.3\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.3\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 -I. -I.    -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD -MP -MF ".deps/sqlite3.Tpo" -c -o sqlite3.lo sqlite3.c; \
        then mv -f ".deps/sqlite3.Tpo" ".deps/sqlite3.Plo"; else rm -f ".deps/sqlite3.Tpo"; exit 1; fi
mkdir .libs
gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.3\" "-DPACKAGE_STRING=\"sqlite 3.7.3\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.3\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 -I. -I. -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c sqlite3.c  -fPIC -DPIC -o .libs/sqlite3.o
gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.3\" "-DPACKAGE_STRING=\"sqlite 3.7.3\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.3\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 -I. -I. -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c sqlite3.c -o sqlite3.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2   -o libsqlite3.la -rpath /usr/local/lib -no-undefined -version-info 8:6:8 sqlite3.lo  -ldl -lpthread
gcc -shared  .libs/sqlite3.o  -ldl -lpthread  -Wl,-soname -Wl,libsqlite3.so.0 -o .libs/libsqlite3.so.0.8.6
(cd .libs && rm -f libsqlite3.so.0 && ln -s libsqlite3.so.0.8.6 libsqlite3.so.0)
(cd .libs && rm -f libsqlite3.so && ln -s libsqlite3.so.0.8.6 libsqlite3.so)
ar cru .libs/libsqlite3.a  sqlite3.o
ranlib .libs/libsqlite3.a
creating libsqlite3.la
(cd .libs && rm -f libsqlite3.la && ln -s ../libsqlite3.la libsqlite3.la)
if gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.3\" -DPACKAGE_STRING=\"sqlite\ 3.7.3\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.3\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 -I. -I.    -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT shell.o -MD -MP -MF ".deps/shell.Tpo" -c -o shell.o shell.c; \
        then mv -f ".deps/shell.Tpo" ".deps/shell.Po"; else rm -f ".deps/shell.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2   -o sqlite3  shell.o ./libsqlite3.la -lreadline -lcurses  -ldl -lpthread
gcc -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -o .libs/sqlite3 shell.o  ./.libs/libsqlite3.so -lreadline -lcurses -ldl -lpthread  -Wl,--rpath -Wl,/usr/local/lib
creating sqlite3
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-11 18:30:28 | 显示全部楼层
[root@wangpeihui sqlite-3.7.3]# make install

make[1]: Entering directory `/opt/EmbedSky/sqlite-3.7.3'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c  'libsqlite3.la' '/usr/local/lib/libsqlite3.la'
/usr/bin/install -c .libs/libsqlite3.so.0.8.6 /usr/local/lib/libsqlite3.so.0.8.6
(cd /usr/local/lib && { ln -s -f libsqlite3.so.0.8.6 libsqlite3.so.0 || { rm -f libsqlite3.so.0 && ln -s libsqlite3.so.0.8.6 libsqlite3.so.0; }; })
(cd /usr/local/lib && { ln -s -f libsqlite3.so.0.8.6 libsqlite3.so || { rm -f libsqlite3.so && ln -s libsqlite3.so.0.8.6 libsqlite3.so; }; })
/usr/bin/install -c .libs/libsqlite3.lai /usr/local/lib/libsqlite3.la
/usr/bin/install -c .libs/libsqlite3.a /usr/local/lib/libsqlite3.a
chmod 644 /usr/local/lib/libsqlite3.a
ranlib /usr/local/lib/libsqlite3.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
  /bin/sh ./libtool --mode=install /usr/bin/install -c 'sqlite3' '/usr/local/bin/sqlite3'
/usr/bin/install -c .libs/sqlite3 /usr/local/bin/sqlite3
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
/usr/bin/install -c -m 644 'sqlite3.h' '/usr/local/include/sqlite3.h'
/usr/bin/install -c -m 644 'sqlite3ext.h' '/usr/local/include/sqlite3ext.h'
test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './sqlite3.1' '/usr/local/share/man/man1/sqlite3.1'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'sqlite3.pc' '/usr/local/lib/pkgconfig/sqlite3.pc'
make[1]: Leaving directory `/opt/EmbedSky/sqlite-3.7.3'
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-11 18:33:24 | 显示全部楼层
这就是我的整个编译过程,,,,顺便说一下我编译busybox是用4.4.1版本的编译器,,而编译文件系统用的是光盘中提供的mkyaffs2image这个可执行文件,,,有没有可能是编译器版本不同造成的《《《《《《请斑竹指教!!!!!!!!
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-11 22:19:45 | 显示全部楼层
终端打印信息
Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.34.7 (root@wangpeihui) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #5 Tue Dec 7 12:38:23 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60672k/60672k available, 4864k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xe0000000   ( 440 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0028000   ( 128 kB)
      .text : 0xc0028000 - 0xc03bf000   (3676 kB)
      .data : 0xc03dc000 - 0xc0400600   ( 146 kB)
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash 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 registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (extended precision)
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Nov 21 2010 15:40:47 Installing.
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns
s3c24xx-nand s3c2440-nand: NAND ECC disabled
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 66 at 0x000000840000
Bad eraseblock 234 at 0x000001d40000
Bad eraseblock 815 at 0x0000065e0000
Bad eraseblock 831 at 0x0000067e0000
Bad eraseblock 1353 at 0x00000a920000
Bad eraseblock 1649 at 0x00000ce20000
Bad eraseblock 1807 at 0x00000e1e0000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "EmbedSky_Board_uboot"
0x000000200000-0x000000500000 : "EmbedSky_Board_kernel"
0x000000500000-0x000010000000 : "EmbedSky_Board_yaffs2"
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 10:23:45:67:89:ab
eth0: dm9000e at c486e000,c4872004 IRQ 51 MAC: 10:23:45:67:89:ab (EmbedSky)
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
ALSA device list:
  No soundcards found.
TCP cubic registered
lib80211: common routines for IEEE802.11 drivers
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 27 is bad
block 195 is bad
block 776 is bad
block 792 is bad
block 1314 is bad
block 1610 is bad
block 1768 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 128K
Try to bring eth0 interface up ...
/etc/rc.d/init.d/httpd: line 14: /sbin/boa: not found
ifconfig eth0 hw ether 10:23:45:67:89:ab
eth0: link down

Please press Enter to activate this console. ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
add default gw 192.168.1.2
Done

[root@wangpeihui /]#sqlite
-/bin/sh: sqlite: not found
[root@wangpeihui /]#sqlite3
/bin/sqlite3: cd: line 1: can't cd to /opt/EmbedSky/sqlite-3.7.3
/bin/sqlite3: eval: line 1: gcc: not found
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-13 12:23:03 | 显示全部楼层
斑竹!!!!!!!!!!!!!!!!
回复

使用道具 举报

 楼主| wangpeihui123 发表于 2010-12-15 23:35:33 | 显示全部楼层
给点力啊…
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-21 07:36 , Processed in 2.037775 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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