主题 : 请各位老大分析一下什么原因导致问题,谢谢 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 35684
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
贡献值: 0 点
综合积分: 26 分
注册时间: 2011-01-05
最后登录: 2011-04-28
楼主  发表于: 2011-04-15 15:26

 请各位老大分析一下什么原因导致问题,谢谢

u-boot和kernel都改为串口2,128M,就提示sh: can't access tty; job control turned off,问题出在哪里?如果解决呢?

Boot with zImage


Starting kernel ...


Uncompressing Linux......................................................................................................................................................................... done, booting the kernel.
Linux version 2.6.28.6 (root@localhost.localdomain) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #534 PREEMPT Wed Apr 13 15:37:10 CST 2011
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLKx2=266000000, HCLK=133000000, PCLK=66500000
div1: 00000555
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is fout_epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
mmc_bus: source is dout_mpll (1), rate is 44333333
usb-host-bus: source is mout_epll (0), rate is 24000000
uclk1: source is dout_mpll (1), rate is 66500000
spi_epll: source is mout_epll (0), rate is 24000000
spi_epll: source is mout_epll (0), rate is 24000000
sclk_audio0: source is mout_epll (0), rate is 24000000
sclk_audio1: source is mout_epll (0), rate is 24000000
sclk_audio2: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
s3c64xx: 10485760 bytes SDRAM reserved for fimc at 0x506e9000
s3c64xx: 8388608 bytes SDRAM reserved for pp at 0x510e9000
s3c64xx: 8388608 bytes SDRAM reserved for tv at 0x518e9000
s3c64xx: 6291456 bytes SDRAM reserved for mfc at 0x520e9000
s3c64xx: 8388608 bytes SDRAM reserved for jpeg at 0x526e9000
s3c64xx: 8388608 bytes SDRAM reserved for cmm at 0x52ee9000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: noinitrd console=ttySAC2 init=/init ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttySAC2] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 74608KB available (4940K code, 898K data, 148K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 529.20 BogoMIPS (lpj=1323008)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
S3C6410 Power Management, (c) 2008 Samsung Electronics
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
SCSI subsystem initialized
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
    (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
S3C64XX ADC driver, (c) 2008 Samsung Electronics
S5P64XX ADC driver successfully probed
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
yaffs Apr 13 2011 11:46:43 Installing.
msgmni has been set to 146
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
LCD TYPE :: WX4300F will be initialized
Window[0] - FB1: map_video_memory: clear ff000000:00177000
            FB1: map_video_memory: dma=57200000 cpu=ff000000 size=00177000
Window[0] - FB2: map_video_memory: clear ff0bb800:000bb800
            FB2: map_video_memory: dma=572bb800 cpu=ff0bb800 size=000bb800
Console: switching to colour frame buffer device 100x30
fb0: s3cfb frame buffer device
Window[1] - FB1: map_video_memory: clear ff177000:000bb800
            FB1: map_video_memory: dma=57400000 cpu=ff177000 size=000bb800
Window[1] - FB2: map_video_memory: clear ff1d4c00:0005dc00
            FB2: map_video_memory: dma=5745dc00 cpu=ff1d4c00 size=0005dc00
fb1: s3cfb frame buffer device
Window[2] - FB1: map_video_memory: clear ff233000:000bb800
            FB1: map_video_memory: dma=57500000 cpu=ff233000 size=000bb800
fb2: s3cfb frame buffer device
Window[3] - FB1: map_video_memory: clear ff2ef000:000bb800
            FB1: map_video_memory: dma=57600000 cpu=ff2ef000 size=000bb800
fb3: s3cfb frame buffer device
s3c-aes initialized
S3C AES Drvier
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: s3c2410_serial2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: s3c2410_serial3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
brd: module loaded
loop: module loaded
nbd: registered device at major 43
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
dm9000 Ethernet Driver
eth0: dm9000 at c8894000,c8894004 IRQ 108 MAC: 00:22:12:34:56:90
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
console [netcon0] enabled
netconsole: network logging started
Linux video capture interface: v2.00
s3c-fimc: controller 0 registered successfully
s3c-fimc: controller 1 registered successfully
S3C6400 MFC Driver, (c) 2007 Samsung Electronics
S3C6400 MFC Driver, (c) 2007 Samsung Electronics
S3C PostProcessor Driver v3.12, (c) 2009 Samsung Electronics
S3C6410 TV encoder Driver, (c) 2008 Samsung Electronics
S3C6410 TV encoder Driver init OK.
S3C6410 TV scaler Driver, (c) 2008 Samsung Electronics
S3C6410 TV scaler Driver init OK.
S3C Rotator Driver, (c) 2008 Samsung Electronics
s3c_rotator_probe called
s3c_rotator_probe success
S3C JPEG Driver, (c) 2007 Samsung Electronics
s3c_g2d_probe called
s3c_g2d_probe Success
S3C G2D Init : Done
S3C CMM Driver, (c) 2008 Samsung Electronics
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00540000-0x00940000 : "cramfs"
0x00940000-0x08000000 : "ubifs"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
s3c-nand: ECC uncorrectable error detected
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "ubifs"
UBI: MTD device size:            118 MiB
UBI: number of good PEBs:        949
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 949
UBI: number of PEBs reserved for bad PEB handling: 9
UBI: max/mean erase counter: 3/1
UBI: background thread "ubi_bgt0d" started, PID 1020
Samsung SoC SPI Driver loaded for Bus SPI-0 with 2 Slaves attached
    Max,Min-Speed [33250000, 129882]Hz
    Irq=80    IOmem=[0x7f00bfff-0x7f00b000]    DMA=[Rx-33, Tx-34]
s3c-udc : S3C HS USB OTG Device Driver, (c) 2008-2009 Samsung Electronics
s3c-udc : version 15 March 2009 (DMA Mode)
android adb driver
Registered gadget driver 'android_adb'
mice: PS/2 mouse device common for all mice
gpio-keys init
input: gpio-keys as /devices/platform/gpio-keys/input/input0
S3C Touchscreen driver for Android, (c) 2008 Samsung Electronics
S3C TouchScreen For Android got loaded successfully : 12 bits
input: S3C TouchScreen For Android as /devices/virtual/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410_rtc: tick irq 34, alarm irq 92
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 377 KHz
[OV965X]ov965x_attach_adapter.
parent clock for camera: 266.000 MHz, divisor: 11
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44333333 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44333333 Hz)
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
smdk6400_init:67
WM9713/WM9714 SoC Audio Codec 0.15
playback: 1, capture : 1
asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
AC97 link error
soc-audio: probe of soc-audio failed with error -5
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c2410-rtc s3c2410-rtc: setting system clock to 2000-03-10 22:56:10 UTC (952728970)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   119476224 bytes (116676 KiB, 113 MiB, 926 LEBs)
UBIFS: journal size:       5935104 bytes (5796 KiB, 5 MiB, 46 LEBs)
UBIFS: media format:       4 (latest is 4)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  5182151 bytes (5060 KiB)
VFS: Mounted root (ubifs filesystem).
Freeing init memory: 148K
Warning: unable to open an initial console.
init: cannot open '/initlogo.rle'
eth0: link down
sh: can't access tty; job control turned off
# warning: `rild' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3->0) at 40409534939 (2000-03-10 22:56:47.742649174 UTC)
级别: 新手上路
UID: 35684
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
贡献值: 0 点
综合积分: 26 分
注册时间: 2011-01-05
最后登录: 2011-04-28
1楼  发表于: 2011-04-15 15:39
分区也做了修改,如下:

struct mtd_partition s3c_partition_info[] = {
       {
                .name        = "Bootloader",
                .offset        = 0,
                .size        = (4 * 128*SZ_1K + 1 *SZ_1M),
                .mask_flags    = MTD_CAP_NANDFLASH,
        },
        {
                .name        = "Kernel",
                .offset        = (4*128*SZ_1K + 1 * SZ_1M),
                .size        = (5*SZ_1M),
                .mask_flags    = MTD_CAP_NANDFLASH,
        },
        {
                .name        = "File Systems",
                .offset        = MTDPART_OFS_APPEND,
                .size        = MTDPART_SIZ_FULL,
        }
};
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
贡献值: 0 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
2楼  发表于: 2011-04-15 16:09
你这板是smdk6410 ?
级别: 新手上路
UID: 35684
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
贡献值: 0 点
综合积分: 26 分
注册时间: 2011-01-05
最后登录: 2011-04-28
3楼  发表于: 2011-04-18 10:20
公司一个项目参考mini6410的开发板,硬件稍作改动
级别: 圣骑士
UID: 9690
精华: 0
发帖: 369
金钱: 1955 两
威望: 415 点
贡献值: 0 点
综合积分: 738 分
注册时间: 2009-10-10
最后登录: 2017-11-21
4楼  发表于: 2011-04-18 11:22
  dev下面对应串口2的设备ttyS2创建了么?ls dev目录查看这个设备在文件系统创建时创建了没有。
  
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
贡献值: 0 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
5楼  发表于: 2011-04-18 11:47
其实这个提示是没什么太大关系的
如果不需要使用job control这个功能, 完全可以忽略之