[Miscellaneous Android Development] princeover:
fun

My tablet after attempting to upload new software stopped working. The log was clear that not even start the U-boat base. I decided to remove the NAND. Now the kernel runing, but in raises are serious problems. So I wanted to prepare the SD card via the tablet activity SD card. To android booting from SD card and run without NAND memory. Is it so you can help me prepare the SD card?

---------- Post added at 02:15 PM ---------- Previous post was at 02:01 PM ----------

"fun" logs from start tablet:

Terminal log file

Date: 2011-12-16 - 14:07:44

-----------------------------------------------

0x0003ffa0

lane00 Success05

lane01 Success05

lane02 Success05

lane03 Success05

RSLR0=00000249 RDGR0=0x00000055

Stage 00 Result 00000000

Stage 01 Result 00000000

Stage 02 Result 00000000Systemp Started

0x00000000

sdio read

0x12345678

ucl decompress

ready



U-Boot 2010.06 (Jun 09 2011 - 15:43:34)

DRAM: 512 MiB

NAND: Amlogic nand flash uboot driver for m1, Version 1.0 (c) 2010 Amlogic Inc.

No NAND device found!!!

NAND device id: 0 0 0 0 0 0

No NAND device found!!!

nand init faile: -6

No NAND device found!!!

NAND device id: 0 0 0 0 0 0

No NAND device found!!!

nand init faile: -6

read enviroment failed

*** Warning - bad CRC or NAND, using default environment

In: serial

Out: serial

Err: serial

KGDB: ready

MMC: SDIO Port A: 0

LCD screen clear!

LCD:	800x480 24bbp

Dcache status 1

Icache status 1

powerkey: 0

upgrade_step = 0 !!!!!!!!!!!!!!!!!!

Partition Map for UNKNOWN device 0 -- Partition Type: DOS

Partition Start Sector Num Sectors Type

1	16065	1927800	b

Device: SDIO Port A

Manufacturer ID: 0

OEM: 0

Name: version 2.0

High Capacity: No

Capacity: 1000341504

Bus Width: 4-bit

Partition Map for UNKNOWN device 0 -- Partition Type: DOS

Partition Start Sector Num Sectors Type

1	16065	1927800	b

aml_autoscript is exist

reading aml_autoscript

121 bytes read

## Executing script at 82000000

reading uImage

3210793 bytes read

## Booting kernel from Legacy Image at 82000000 ...

Image Name: Linux-2.6.34

Image Type: ARM Linux Kernel Image (lzma compressed)

Data Size: 3210729 Bytes = 3.1 MiB

Load Address: 80008000

Entry Point: 80008000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

Using machid 0xb8c from environment

Starting kernel ...

[ 0.000000] Initializing cgroup subsys cpu

[ 0.000000] Linux version 2.6.34 (aoker@Aoker-ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #465 Mon Apr 25 10:52:43 CST 2011

[ 0.000000] CPU: ARMv7 Processor [411fc091] revision 1 (ARMv7), cr=10c53c7f

[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

[ 0.000000] Machine: AMLOGIC MESON-M1 8726M SZ

[ 0.000000] Ignoring unrecognised tag 0x00000000

[ 0.000000] Memory policy: ECC disabled, Data cache writeback

[ 0.000000] BUG: mapping for 0x84000000 at 0xc4000000 overlaps vmalloc space

[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 118272

[ 0.000000] Kernel command line: init=/init console=ttyS0,115200 mem=512M board_ver=v2 clk81=187500k hdmitx=vdacoff,powermode1,unplug_powerdown rootwait logo=osd1,0x84100000,lcd,full a9_clk=600M

[ 0.000000] board_ver = v2

[ 0.000000] other pll setting to crystal_req=24,out_freq=750,n=4,m=125,od=0

[ 0.000000] hdmi: set init powermode 1

[ 0.000000] osd1:1

[ 0.000000] lcd:9

[ 0.000000] full:2

[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)

[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

[ 0.000000] Memory: 64MB 402MB = 466MB total

[ 0.000000] Memory: 463684k/463684k available, 13500k reserved, 0K highmem

[ 0.000000] Virtual kernel memory layout:

[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)

[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)

[ 0.000000] vmalloc : 0xe0800000 - 0xf0000000 ( 248 MB)

[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)

[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)

[ 0.000000] .init : 0xc0008000 - 0xc01aa000 (1672 kB)

[ 0.000000] .text : 0xc01aa000 - 0xc081a024 (6593 kB)

[ 0.000000] .data : 0xc081c000 - 0xc0855ae0 ( 231 kB)

[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

[ 0.000000] Hierarchical RCU implementation.

[ 0.000000] NR_IRQS:128

[ 0.000000] Console: colour dummy device 80x30

[ 0.000000] console [ttyS0] enabled

[ 0.030000] Calibrating delay loop... 1196.03 BogoMIPS (lpj=5980160)

[ 0.270000] Mount-cache hash table entries: 512

[ 0.270000] Initializing cgroup subsys cpuacct

[ 0.270000] Initializing cgroup subsys freezer

[ 0.280000] CPU: Testing write buffer coherency: ok

[ 0.280000] sram vaddr = e0808000

[ 0.280000] NET: Registered protocol family 16

[ 0.290000] L2X0 cache controller enabled

[ 0.290000] power hold set high!

[ 0.300000] demod_apll_setting crystal_req=24,out_freq=1200,n=1,m=50M

_ 0.300000] select eth clk-1,source=400000000,out=50000000

[ 0.310000] USB PHY clock souce: XTAL input divided by 2

[ 0.310000] register lm device 0

[ 0.320000] register lm device 1

[ 0.320000] set gpio1.4 input

[ 0.320000] chip version=e5832fe0

[ 0.330000] major number 0 for disp

[ 0.330000] register tv module server ok

[ 0.330000]

[ 0.330000]

[ 0.330000] T13 LCD Init.

[ 0.330000]

[ 0.340000] aml-i2c aml-i2c: add adapter aml_i2c_adapter

[ 0.350000] aml-i2c aml-i2c: add adapter aml_i2c_adapter_slow

[ 0.350000] aml-i2c aml-i2c: aml i2c bus driver.

[ 0.360000] bio: create slab <bio-0> at 0

[ 0.370000] SCSI subsystem initialized

[ 0.370000] usbcore: registered new interface driver usbfs

[ 0.370000] usbcore: registered new interface driver hub

[ 0.380000] usbcore: registered new device driver usb

[ 0.390000]

[ 0.390000]

[ 0.390000] lcd_set_current_vmode.

[ 0.390000]

[ 0.390000] dwc_otg: version 2.60a 22-NOV-2006

[ 0.820000] DWC_otg: Using DMA mode

[ 0.820000] dwc_otg lm0: DWC OTG Controller

[ 0.820000] dwc_otg lm0: new USB bus registered, assigned bus number 1

[ 0.820000] dwc_otg lm0: irq 30, io mem 0x00000000

[ 0.830000] hub 1-0:1.0: USB hub found

[ 0.830000] hub 1-0:1.0: 1 port detected

[ 0.840000] DWC_otg: Shared Tx FIFO mode

[ 1.260000] DWC_otg: Using DMA mode

[ 1.260000] dwc_otg lm1: DWC OTG Controller

[ 1.260000] dwc_otg lm1: new USB bus registered, assigned bus number 2

[ 1.260000] dwc_otg lm1: irq 31, io mem 0x00000000

[ 1.270000] DWC_otg: Init: Port Power? op_state=1

[ 1.270000] DWC_otg: Init: Power Port (0)

[ 1.280000] hub 2-0:1.0: USB hub found

[ 1.280000] hub 2-0:1.0: 1 port detected

[ 1.290000] Advanced Linux Sound Architecture Driver Version 1.0.22.1.

[ 1.290000] Bluetooth: Core ver 2.15

[ 1.290000] NET: Registered protocol family 31

[ 1.300000] Bluetooth: HCI device and connection manager initialized

[ 1.310000] Bluetooth: HCI socket layer initialized

[ 1.310000] cfg80211: Calling CRDA to update world regulatory domain

[ 1.320000] Switching to clocksource Timer-E

[ 1.320000] NET: Registered protocol family 2

[ 1.330000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)

[ 1.330000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)

[ 1.340000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)

[ 1.350000] TCP: Hash tables configured (established 16384 bind 16384)

[ 1.350000] TCP reno registered

[ 1.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)

[ 1.360000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[ 1.370000] NET: Registered protocol family 1

[ 1.370000] RPC: Registered udp transport module.

[ 1.380000] RPC: Registered tcp transport module.

[ 1.380000] RPC: Registered tcp NFSv4.1 backchannel transport module.

[ 1.400000] ashmem: initialized

[ 1.400000] VFS: Disk quotas dquot_6.5.2

[ 1.400000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[ 1.410000] NTFS driver 2.1.29 [Flags: R/W].

[ 1.410000] fuse init (API version 7.13)

[ 1.420000] msgmni has been set to 905

[ 1.420000] alg: No test for stdrng (krng)

[ 1.430000] io scheduler noop registered

[ 1.430000] io scheduler deadline registered

[ 1.430000] io scheduler cfq registered (default)

[ 1.670000] brd: module loaded

[ 1.670000] loop: module loaded

[ 1.670000] set gpio1.7 output

[ 1.670000] set gpio1.6 input

[ 1.680000] set gpio1.8 output

[ 1.680000] set gpio1.0 output

[ 1.680000] Initializing USB Mass Storage driver...

[ 1.690000] usbcore: registered new interface driver usb-storage

[ 1.690000] USB Mass Storage support registered.

[ 1.700000] android init

[ 1.700000] android_probe pdata: c08243ac

[ 1.710000] android_bind

[ 1.710000] android_usb gadget: android_usb ready

[ 1.710000] f_adb init

[ 1.710000] android_register_function adb

[ 1.720000] f_mass_storage init

[ 1.720000] android_register_function usb_mass_storage

[ 1.730000] mass_storage_bind_config

[ 1.730000] fsg_probe pdata: c08243d0

[ 1.730000] android_usb gadget: Number of LUNs=2

[ 1.740000] adb_bind_config

[ 1.740000] mice: PS/2 mouse device common for all mice

[ 1.750000] ads7846 spi2.0: touchscreen, irq 64

[ 1.750000] input: ADS7846 Touchscreen as /devices/platform/spi_gpio.2/spi2.0/input/input0

[ 1.760000] ads7846 probe ok

[ 1.760000] i2c /dev entries driver

[ 1.770000] mxc622x driver: init

[ 1.770000] mmc31xx driver: init

[ 1.790000] ecompass driver: init

[ 1.790000] input: ecompass_data as /devices/virtual/input/input1

[ 1.790000] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com

[ 1.800000] cpuidle: using governor ladder

[ 1.800000] usbcore: registered new interface driver usbhid

[ 1.810000] usbhid: USB HID core driver

[ 1.810000] logger: created 64K log 'log_main'

[ 1.820000] logger: created 256K log 'log_events'

[ 1.820000] logger: created 64K log 'log_radio'

[ 1.820000] logger: created 64K log 'log_system'

[ 1.830000] start init vout module

[ 1.830000] create vout attribute ok

[ 1.840000] ge2d_init

[ 1.840000] ge2d_dev major:253

[ 1.840000] ge2d start monitor

[ 1.840000] osd_init

[ 1.850000] ge2d workqueue monitor start

[ 1.850000]

[ 1.850000]

[ 1.850000] lcd_set_current_vmode.

[ 1.850000]

[ 1.860000] [osd0] 0x84100000-0x842fffff

[ 1.860000] Frame buffer memory assigned at phy:0x84100000, vir:0xe0c00000, size=2048K

[ 1.870000] [osd1] 0x84300000-0x843fffff

[ 1.870000] Frame buffer memory assigned at phy:0x84300000, vir:0xe0a00000, size=1024K

[ 2.880000] osd probe ok

[ 2.880000] enter aml_bl_probe

[ 2.880000] backlight on

[ 2.880000] UART_ttyS0:(irq = 75, address = 0xf11084dc)

[ 2.880000] UART_ttyS1:(irq = 26, address = 0xf11084c0)

[ 2.890000] Port 0 = IRQ 75

[ 2.890000] Port 1 = IRQ 26

[ 2.890000] using rtc device, aml_rtc, for alarms

[ 2.900000] aml_rtc aml_rtc: rtc core: registered aml_rtc as rtc0

[ 2.910000] Amlogic M1 on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Amlogic Inc.

[ 2.910000] NAND probe pdev -1065207312

[ 2.920000] call naml_m1_nand_hw_init before aml_m1_nand_probe

[ 2.920000]

[ 2.920000] aml_m1_nand_hw_init over

[ 2.930000] NAND CONFIG IS 0x00a3

[ 2.930000]

[ 2.930000] aml_m1_nand_hw_init end

[ 2.940000] flash_id[0]=0x0

[ 2.940000] flash_id[1]=0x0

[ 2.940000] flash_id[2]=0x0

[ 2.940000] flash_id[3]=0x0

[ 2.950000] flash_id[4]=0x0

[ 2.950000] flash_id[5]=0x0

[ 2.950000] flash_id[6]=0x0

[ 2.960000] No NAND device found.

[ 2.960000]

[ 2.960000] aml_m1_nand_probe over exit_error

[ 2.970000] Amlogic A/V streaming port init

[ 2.970000] amvdec_vc1 module init

[ 2.970000] amvdec_h264 module init

[ 2.980000] amvdec_real module init

[ 2.980000] init FIQ

[ 2.980000] request FIQ 3 c04b07b0

[ 2.990000] Amlogic deinterlace init

[ 2.990000] Deinterlace memory: start = 0x86400000, end = 0x866fffff

[ 3.000000] Keypad Driver

[ 3.000000] input: keypad as /devices/platform/m1-kp.0/input/input2

[ 3.000000] remote config major:251

[ 3.010000] physical address:0x9ffbe000

[ 3.010000] SARADC Driver init.

[ 3.010000] saradc use internal calibration

[ 3.020000] saradc calibration fail

[ 3.020000] ADC Keypad Driver init.

[ 3.030000] chan #4 used for ADC key

[ 3.030000] menu key(125) registed.

[ 3.030000] vol- key(109) registed.

[ 3.040000] vol+ key(104) registed.

[ 3.040000] exit key(15) registed.

[ 3.040000] home key(102) registed.

[ 3.050000] input: adc_keypad as /devices/platform/m1-adckp.0/input/input3

[ 3.050000] adc keypad register input device completed.

[ 3.060000] adc keypad major:250

[ 3.060000] Key input Driver init.

[ 3.070000] Key 116 registed.

[ 3.070000] input: key_input as /devices/platform/m1-keyinput.0/input/input4

[ 3.080000] Key input register input device completed.

[ 3.080000] key_input major:249

[ 3.080000] Memory Card media Major: 253

[ 3.090000] card max_req_size is 128K

[ 3.090000] card creat process sucessful

[ 3.100000] [dsp]DSP IOREMAP to addr 0xe1400000

[ 3.100000] [dsp]DSP start addr 0xc4000000

[ 3.100000] [dsp]register dsp to char divece(232)

[ 3.110000] amlogic power supply init

[ 3.110000] gpio dev major number:248

[ 3.120000] create gpio device success

[ 3.120000] efuse: device efuse created

[ 3.120000] amaudio: device