Hi, ALL
I got a SMDK6410 EVB and tried to port android on this platform. Now
the kernel can works and LCD logo can be displayed, but when changed
to android there is no display and i also didn't see "ANDROID..." logo
on the lcd. Have you ever met this situation? Can anybody give me some
hints?

the following is my config file about frame buffer:
#
# Frame buffer hardware drivers
#
CONFIG_FB_S3C=y
# CONFIG_FB_S3C_LTE480WV is not set
# CONFIG_FB_S3C_LTV350QV is not set
# CONFIG_FB_S3C_LTS222QV is not set
# CONFIG_FB_S3C_WX4300F is not set
# CONFIG_FB_S3C_HSD050 is not set
# CONFIG_FB_S3C_AT070TN83 is not set
CONFIG_FB_LTE480WV=y
CONFIG_FB_S3C_BPP=y
# CONFIG_FB_S3C_BPP_8 is not set
CONFIG_FB_S3C_BPP_16=y
# CONFIG_FB_S3C_BPP_24 is not set
# CONFIG_FB_S3C_BPP_28 is not set
# CONFIG_FB_S3C_BPP_32 is not set
CONFIG_FB_S3C_NUM=1
CONFIG_VIRTUAL_SCREEN_NOT_SUPPORTED=y
# CONFIG_FB_VIRTUAL_SCREEN is not set
CONFIG_DOUBLE_BUFFERING_NOT_SUPPORTED=y
# CONFIG_FB_DOUBLE_BUFFERING is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y

and log file from the uart is as following:

Starting kernel ...

Uncompressing
Linux..........................................................................................................................................................................
done, booting the kernel.
Linux version 2.6.28.6 (hg...@wifisrv) (gcc version 4.3.2 (Sourcery G+
+ Lite 2008q3-72) ) #528 PREEMPT Sun Sep 26 11:38:45 CST 2010
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 0x506ee000
s3c64xx: 8388608 bytes SDRAM reserved for pp at 0x510ee000
s3c64xx: 8388608 bytes SDRAM reserved for tv at 0x518ee000
s3c64xx: 6291456 bytes SDRAM reserved for mfc at 0x520ee000
s3c64xx: 8388608 bytes SDRAM reserved for jpeg at 0x526ee000
s3c64xx: 8388608 bytes SDRAM reserved for cmm at 0x52eee000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
32512
Kernel command line: noinitrd console=ttySAC0 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 [ttySAC0] 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: 74580KB available (4960K code, 893K data, 148K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1,
Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
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 Sep 26 2010 11:35:59 Installing.
msgmni has been set to 145
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 :: LTE480WV will be initialized
Window[0] - FB1: map_video_memory: clear ff000000:003a9800
            FB1: map_video_memory: dma=57400000 cpu=ff000000
size=003a9800
Console: switching to colour frame buffer device 100x30
fb0: 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
dm9000: read wrong id 0x2b2a2928
dm9000: read wrong id 0x2b2a2928
dm9000: wrong id: 0x2b2a2928
dm9000: not found (-19).
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: 0xda (Samsung NAND 256MiB
3,3V 8-bit)
Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00400000-0x00800000 : "cramfs"
0x00800000-0x10000000 : "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
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "ubifs"
UBI: MTD device size:            248 MiB
UBI: number of good PEBs:        1983
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: 1983
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 2/1
UBI: background thread "ubi_bgt0d" started, PID 1016
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
OV965X attached successfully
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
sdhci: card inserted.
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
ALSA device list:
  #0: SMDK6410 (WM9713)
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
<jketr...@linux.intel.com>
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev
5
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   251338752 bytes (245448 KiB, 239 MiB, 1948
LEBs)
UBIFS: journal size:       12644352 bytes (12348 KiB, 12 MiB, 98 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'
sh: can't access tty; job control turned off
# warning: `rild' uses 32-bit capabilities (legacy support in use)
binder: 1895:1895 refcount change on invalid ref 0
binder: 1895:1895 refcount change on invalid ref 0
binder: 1895:1895 transaction failed 29189, size120-4

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to