Hello Everybody,
(hope this is the good section)
I try to investigate on low cost tablet with AllWinner F20 chip (chip near allwinner A10) for trying to create a rom. This tab work well for the price and
i can put it in bootloader mode, LiveSuit seem to find it. I dump my nanda partition and i need help to understand how does F20 boot ? no boot.afx found, only a strange app_demo.axf...This seem like a A10 relics files...
Do you think app_demo.axf can be the bootloader ?
Code:
# mkdir vnanda
# mount -o loop -t vfat nanda.dump vnanda
# tree vnanda
vnanda
├── boot.ini : Normaly used by boot.afx no ? (see content)
├── magic.bin : Normaly used by boot.afx no ? (see content)
├── app_demo.axf : Used by ? (ELF, Linker & Thumb Macro Assembler RVCT2.2 [Build 349])
├── drv_de.drv : Used by ? (ELF, Linker & Thumb Macro Assembler RVCT2.2 [Build 349])
├── drv_demo.drv : Used by ? (ELF, Linker & Thumb Macro Assembler RVCT2.2 [Build 349])
├── drv_nand.drv : Used by ? (ELF, Linker & Thumb Macro Assembler RVCT2.2 [Build 349])
├── drv_sd.drv : Used by ? (ELF, Linker & Thumb Macro Assembler RVCT2.2 [Build 349])
├── wpower.drv : Used by ? (ELF, Linker & Thumb Macro Assembler RVCT2.2 [Build 349])
└── linux
├── bImage : Linux Kernel (5.9 Mo)
├── linux.ini : Memory mapping ? (see content)
├── params : Kernel cmdline ? (see content)
│
├── android : Splash Polaroid
├── android.bmp : Bmp Polaroid
├── ??
│ ├── android : Splash Android
│ └── android.bmp : Bmp Android
├── ???
│ ├── android : Splash Polaroid
│ └── android.bmp : Bmp Polaroid
├── ???2
│ ├── android : Splash Difrnce
│ ├── android.bmp : Bmp Difrnce
│ └── opening24.bmp : Bmp Difrnce
├── epuda1
│ ├── android : Splash MemUp
│ └── android.bmp : Bmp MemUp
├── epuda2
│ ├── android : Splash ACL
│ ├── android24.bmp : Bmp ACL
│ └── android.bmp : Bmp ACL
└── youduo
├── android : Splash Tele System
└── TELE System 32.bmp : Bmp Tele System
7 directories, 27 files
boot.ini
Code:
[system]
start_os_name = linux
timeout = -1
display_device= 0
[linux]
magic.bin
Code:
a1sp9maKde37ee6c-6dc4-4d74-86f0-db32116efb53e0e40ccf-7a66-406b-88c3-415b4a62a8f7777622ab-6bd0-464f-9da5-4cc203e855ea8ce5671f-e8b5-442e-9300-2ee6836c538aabf5f481-c961-4895-8245-631f74851d0c2bbb4229-55a8-4929-a165-3f406f0ee441ab5d09a9-c4dc-44bb-a175-cfb7c978a062329ea51e-1ddc-44ff-ac09-9ef7b64e0c52a712e47d-13f7-4490-9fea-bdcd587b8a4a5ed4d4e6-0ba3-45c5-a778-3232a42d4d960a9b7466-d7b3-4087-b8ff-c51763b852a50cd78bb6-a6d5-43a8-8661-fb91abd346433e8a86ee-711e-49c1-ad54-b59dd01fe513e22b0d8b-647f-4417-a115-9806c5d64eec
linux.ini
Code:
[segment]
img_name = c:\linux\bImage
img_size = 0x2000000
img_base = 0x80008000
[segment]
img_name = c:\linux\params
img_size = 0x100
img_base = 0x83008000
[segment]
img_name = c:\linux\android
img_size = 0x200000
img_base = 0x88200000
[script_info]
script_base = 0x83000000
script_size = 0x8000
[logo_info]
logo_name = c:\linux\android.bmp
logo_address = 0x88000000
logo_show = 1
params
Code:
console=ttyS0,115200 root=/dev/nandb rw init=/init;
Thanks in advance
Rom1nux
Hello All,
For information i found a serial port exposed on this device, i try to get information but a dont build yet the max232 adapter
http://youtu.be/eabA3v0XoeY
Hope i can can bootloader information adapter will be build...
Full info here : http://forum.frandroid.com/topic/102352-polaroid-43-pc-tablet-midcf43-low-cost
Can someone know when exactly the linux kernel is really loaded ?
it's when Android splash aprear ? or it's loading during the Android splash ?
Thanks in advance for information about this stange boot part...
Rom1nux
Hello,
Yip ha, i got a full bootlog from F20
Setup
Quick 2N2222 adapter, badly build
Video
To check the boot timing
http://youtu.be/jN5YoBgeSzM
Bootlog
Code:
HELLO! BOOT0 is starting!
initializing SDRAM OK.
Succeed in opening nand flash.
Succeed in reading Boot1 file head.
The size of Boot1 is 0x00030000.
The file stored in 0X00000000 of block 2 is perfect.
Check is correct.
Ready to disable icache.
Succeed in loading Boot1.
Jump to Boot1.
begin to init file system
bat vol = 3951
1
mount successfully.
[MSG]: BootMain start
0
The all optional count is 1
only one os to boot
WRN:L412(BootOS\BootOS.c):test for multi os boot with display
WRN:L243(Common\ui\display_interface\display_interface.c):ERR: LCD not open
WRN:L60(..\OSAL_Cache.c):Length is ZERO!
start address = 0x80008000
jump to
[ 0.000000] timer_set_mode: periodic
[ 0.000000] Console: colour dummy device 80x30
[ 0.220000] bio: create slab <bio-0> at 0
[ 0.510000] request fb success!
[ 0.520000] [UART]debug disable!
[ 0.560000] The 0 disk name = BOOTFS, class name = DISK, disk size = 32768
[ 0.570000] The 1 disk name = LROOTFS, class name = DISK, disk size = 32768
[ 0.570000] The 2 disk name = LSYSTEMFS, class name = DISK, disk size = 524288
[ 0.580000] The 3 disk name = LDATAFS, class name = DISK, disk size = 1048576
[ 0.590000] The 4 disk name = UDISK, class name = DISK, disk size = 0
[ 0.600000] The 4 disk size = 2291712
[ 0.600000] part total count = 5
[ 0.690000] ------ pmem ioremap cached -------
[ 0.700000] CONFIG_USB_SW_SUN3I_USB0_OTG
[ 0.700000] [sw_hcd0]: usb host driver initialize........
[ 0.710000] [sw_hcd0]: [usb host]: usb_vbase = 0xf1c13000
[ 0.720000] [sw_hcd0]: [usb host]: sram_vbase = 0xf1c00000
[ 0.720000] [sw_hcd0]: [sw_hcd_host0]: close_usb_clock_ex
[ 0.730000] [sw_hcd0]: [sw_hcd_host0]: open_usb_clock
[ 0.770000] [sw_hcd0]: usbc_init_state = 1
[ 0.770000] [sw_hcd0]: platform is usb host
[ 0.770000] [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[ 0.790000] [sw_hcd0]: sw_hcd_host0: hw_ep 0shared, max 64
[ 0.790000] [sw_hcd0]: sw_hcd_host0: hw_ep 1tx, max 512
[ 0.800000] [sw_hcd0]: sw_hcd_host0: hw_ep 1rx, max 512
[ 0.810000] [sw_hcd0]: sw_hcd_host0: hw_ep 2tx, max 512
[ 0.810000] [sw_hcd0]: sw_hcd_host0: hw_ep 2rx, max 512
[ 0.820000] [sw_hcd0]: sw_hcd_host0: hw_ep 3tx, max 512
[ 0.820000] [sw_hcd0]: sw_hcd_host0: hw_ep 3rx, max 512
[ 0.830000] [sw_hcd0]: sw_hcd_host0: hw_ep 4tx, max 512
[ 0.840000] [sw_hcd0]: sw_hcd_host0: hw_ep 4rx, max 512
[ 0.840000] [sw_hcd0]: sw_hcd_host0: hw_ep 5tx, max 512
[ 0.850000] [sw_hcd0]: sw_hcd_host0: hw_ep 5rx, max 512
[ 0.850000] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38
[ 0.870000] WRN:L271(drivers/usb/sun3i_usb/hcd/core/sw_hcd_core.c):ERR: hcd is not enable
[ 0.880000] [sw_hcd0]: sw_usb_host0_disable start
[ 0.880000] -------sw_hcd0_soft_disconnect---------
[ 0.880000] [sw_hcd0]: INFO : USB VBus power OFF
[ 0.880000] WRN:L370(drivers/usb/sun3i_usb/hcd/core/sw_hcd_core.c):ERR: hcd is not enable
[ 0.890000] [sw_hcd0]: [sw_hcd_host0]: close_usb_clock
[ 0.900000] [sw_hcd0]: sw_usb_host0_disable end
[ 0.900000] [sw_hcd1]: usb host driver initialize........
[ 0.910000] [sw_hcd1]: [usb host]: usb_vbase = 0xf1c14000
[ 0.920000] [sw_hcd1]: [usb host]: sram_vbase = 0xf1c00000
[ 0.920000] [sw_hcd1]: open_usb_clock
[ 0.970000] [sw_hcd1]: usbc_init_state = 0
[ 0.970000] [sw_hcd1]: platform is usb host
[ 0.970000] [sw_hcd1]: sw_hcd_host1: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[ 0.990000] [sw_hcd1]: sw_hcd_host1: hw_ep 0shared, max 64
[ 0.990000] [sw_hcd1]: sw_hcd_host1: hw_ep 1tx, max 512
[ 1.000000] [sw_hcd1]: sw_hcd_host1: hw_ep 1rx, max 512
[ 1.010000] [sw_hcd1]: sw_hcd_host1: hw_ep 2tx, max 512
[ 1.010000] [sw_hcd1]: sw_hcd_host1: hw_ep 2rx, max 512
[ 1.020000] [sw_hcd1]: sw_hcd_host1: hw_ep 3tx, max 512
[ 1.020000] [sw_hcd1]: sw_hcd_host1: hw_ep 3rx, max 512
[ 1.030000] [sw_hcd1]: sw_hcd_init_controller: sw_hcd_host1: USB Host mode controller at f1c14000 using PIO, IRQ 39
[ 1.040000] [sw_hcd1]: INFO : USB VBus power ON
[ 1.050000] sw_usb_disable_hcd1 start, clk_is_open = 1
[ 1.060000] sw_hcd_stop: sw_hcd disabled
[ 1.060000] [sw_hcd1]: INFO : USB VBus power OFF
[ 1.060000] [sw_hcd1]: close_usb_clock
[ 1.060000] -------sw_hcd1_soft_disconnect---------
[ 1.070000] sw_usb_disable_hcd1 end
[ 1.070000] [sw_hcd2]: usb host driver initialize........
[ 1.080000] [sw_hcd2]: [usb host]: usb_vbase = 0xf1c1e000
[ 1.080000] [sw_hcd2]: [usb host]: sram_vbase = 0xf1c00000
[ 1.090000] [sw_hcd2]: open_usb_clock
[ 1.130000] [sw_hcd2]: open_usb_clock, clk_is_open = 1
[ 1.130000] [sw_hcd2]: usbc_init_state = 1
[ 1.140000] [sw_hcd2]: platform is usb host
[ 1.140000] [sw_hcd2]: sw_hcd_host2: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
[ 1.150000] [sw_hcd2]: sw_hcd_host2: hw_ep 0shared, max 64
[ 1.160000] [sw_hcd2]: sw_hcd_host2: hw_ep 1tx, max 512
[ 1.170000] [sw_hcd2]: sw_hcd_host2: hw_ep 1rx, max 512
[ 1.170000] [sw_hcd2]: sw_hcd_host2: hw_ep 2tx, max 512
[ 1.180000] [sw_hcd2]: sw_hcd_host2: hw_ep 2rx, max 512
[ 1.180000] [sw_hcd2]: sw_hcd_host2: hw_ep 3tx, max 512
[ 1.190000] [sw_hcd2]: sw_hcd_host2: hw_ep 3rx, max 512
[ 1.200000] [sw_hcd2]: sw_hcd_init_controller: sw_hcd_host2: USB Host mode controller at f1c1e000 using PIO, IRQ 40
[ 1.210000] [sw_hcd2]: INFO : USB VBus power ON
[ 1.210000]
[ 1.210000] ------------IRQ SESSION_REQ-------------
[ 1.210000]
[ 1.210000] [sw_hcd2]: INFO : USB VBus power ON
[ 1.220000] [sw_udc]: udc_init: version 20080411
[ 1.230000] [sw_udc]: [sw_usb_udc]: binding gadget driver 'android_usb'
[ 1.230000] [sw_udc]: alloc request: ep(0xc059db70, ep0, 64), req(0xcf92f120)
[ 1.240000] WRN:L2369(drivers/usb/sun3i_usb/udc/sw_udc.c):ERR: usb device is not active
[ 1.250000] Gadget Android: controller 'sw_usb_udc' not recognized
[ 1.260000] WRN:L2369(drivers/usb/sun3i_usb/udc/sw_udc.c):ERR: usb device is not active
[ 1.270000] [sw_udc]: CONFIG_USB_GADGET_DUALSPEED
[ 1.270000] [sw_udc]: usbd_start_work
[ 1.280000] [sw_udc]: alloc request: ep(0xc059dc70, ep4-bulk, 512), req(0xcf969e60)
[ 1.290000] [sw_udc]: alloc request: ep(0xc059dc30, ep3-bulk, 512), req(0xcf969e20)
[ 1.300000] [sw_udc]: alloc request: ep(0xc059dc30, ep3-bulk, 512), req(0xcf969de0)
[ 1.310000] [sw_udc]: alloc request: ep(0xc059dc30, ep3-bulk, 512), req(0xcf969da0)
[ 1.310000] [sw_udc]: alloc request: ep(0xc059dc30, ep3-bulk, 512), req(0xcf969d60)
[ 1.330000] IR Initial OK
[ 1.330000] [sun3i-ts:inf] sun3its_init is invoked.
[ 1.340000] [sun3i-ts:inf] sun3i tp probe initial
[ 1.340000] [sun3i-ts:inf]
[ 1.350000] [sun3i-ts:inf] sun3i tp inital ok
[ 1.350000] sun3i RTC
[ 1.350000] f20_rtc_probe tmp_data = 16385
[ 1.370000] -----[cedar_dev] set ve clock -> 0x3040c019
[ 1.370000]
[ 1.370000] ------------IRQ CONNECT-------------
[ 1.370000]
[ 1.490000] [mmc]: awsmc controller unsing config sdc0 0, sdc1 0, sdc2 1, sdc3 0
[ 1.500000] [mmc]: awsmc.2: pdev->name: awsmc, pdev->id: 00000002
[ 1.510000] [mmc]: smc 2, source = video_pll0, src_clk = 297000000, mclk 99000000,
[ 1.510000] [mmc]: MMC Driver init host 2
[ 1.520000] [mmc]: awsmc.2: Initialisation Done.
[ 1.620000] m1 Audio successfully loaded..
[ 1.620000] registered taskstats version 1
[ 1.630000] incomplete xfer (32
[ 1.630000] incomplete xfer (32
[ 1.640000] incomplete xfer (32
[ 1.640000] incomplete xfer (32
[ 1.650000] incomplete xfer (32
[ 1.650000] incomplete xfer (32
[ 1.650000] incomplete xfer (32
[ 1.660000] incomplete xfer (32
[ 1.660000] incomplete xfer (32
[ 1.660000] incomplete xfer (32
[ 1.670000] incomplete xfer (32
[ 1.670000] incomplete xfer (32
[ 1.680000] incomplete xfer (32
[ 1.680000] incomplete xfer (32
[ 1.680000] incomplete xfer (32
[ 1.690000] incomplete xfer (32
[ 1.690000] incomplete xfer (32
[ 1.690000] incomplete xfer (32
[ 1.700000] [sw_hcd]: reset port.
[ 1.700000] incomplete xfer (32
[ 1.710000] incomplete xfer (32
[ 1.710000] incomplete xfer (32
[ 1.710000] incomplete xfer (32
[ 1.720000] incomplete xfer (32
[ 1.720000] incomplete xfer (32
[ 1.720000] incomplete xfer (32
[ 1.730000] incomplete xfer (32
[ 1.730000] incomplete xfer (32
[ 1.730000] incomplete xfer (32
[ 1.740000] incomplete xfer (32
[ 1.740000] incomplete xfer (32
[ 1.750000] incomplete xfer (32
[ 1.750000] incomplete xfer (32
[ 1.750000] incomplete xfer (32
[ 1.760000] [sw_hcd]: reset port stopped.
[ 1.760000] csr1: 0x2
[ 1.760000] csr2: 0x0
[ 1.770000] spurious?
[ 1.770000] incomplete xfer (32
[ 1.770000] incomplete xfer (32
[ 1.780000] incomplete xfer (32
[ 1.780000] incomplete xfer (32
[ 1.780000] incomplete xfer (32
[ 1.790000] incomplete xfer (32
[ 1.790000] incomplete xfer (32
[ 1.800000] incomplete xfer (32
[ 1.800000] incomplete xfer (32
[ 1.800000] incomplete xfer (32
[ 1.810000] incomplete xfer (32
[ 1.810000] incomplete xfer (32
[ 1.810000] incomplete xfer (32
[ 1.820000] incomplete xfer (32
[ 1.820000] incomplete xfer (32
[ 1.830000] incomplete xfer (32
[ 1.830000] incomplete xfer (32
[ 1.830000] incomplete xfer (32
[ 1.840000] [sw_hcd]: reset port.
[ 1.840000] incomplete xfer (32
[ 1.840000] incomplete xfer (32
[ 1.850000] f20_rtc_gettime
[ 1.850000] read time 2010-1-1 20:49:25
[ 1.860000] EXT2-fs (nandb): error: couldn't mount because of unsupported optional features (244)
[ 1.900000] [sw_hcd]: reset port stopped.
[ 1.900000] csr1: 0x2
[ 1.900000] csr2: 0x0
[ 1.960000] [sw_hcd]: sw_hcd_h_disable, epnum = 0
[ 1.960000] [sw_hcd]: sw_hcd_h_disable, epnum = 0
[ 1.990000] EXT4-fs (nandb): warning: maximal mount count reached, running e2fsck is recommended
[ 2.010000] VFS: Mounted root (ext3 filesystem) on device 93:8.
[ 2.040000] init: /init.rc: 244: invalid option 'root'
[ 2.040000] init: /init.rc: 244: invalid option 'root'
[ 2.340000] invalid bits_per_pixel :0 in var_to_fb
[ 2.380000] invalid bits_per_pixel :0 in var_to_fb
[ 2.520000] EXT4-fs (nandd): warning: maximal mount count reached, running e2fsck is recommended
[ 2.550000] init: not file /data/wipe_me
[ 2.650000] EXT4-fs (nandc): warning: maximal mount count reached, running e2fsck is recommended
[ 2.940000] EXT4-fs (nandd): warning: maximal mount count reached, running e2fsck is recommended
[ 3.050000] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[ 3.060000] init: cannot find '/system/bin/memsicd', disabling 'memsicd'
[ 6.060000] [DISP]open
[ 7.760000] JBD2: Disabling barriers on nandb-8, not supported by device
[ 8.070000] JBD2: Disabling barriers on nandd-8, not supported by device
[ 8.070000] JBD2: Disabling barriers on nandc-8, not supported by device
[ 36.310000] [DISP]open
[ 36.450000] [DISP]open
[ 36.870000] [DISP]open
[ 38.150000] [sun3i-ts:dbg] suspend off
[ 38.720000] usb_wifi_host = 2
[ 38.730000] sw_usb_enable_hcd2 start, clk_is_open = 1
[ 38.730000] WRN:L1552(drivers/usb/sun3i_usb/hcd/hcd2/sw_hcd2.c):ERR: sw_usb_enable_hcd2, usb clock is open, can't open again
[ 38.750000]
[ 38.750000] rtw driver version=v3.1.2330.20110808
[ 38.750000] register rtw_netdev_ops to netdev_ops
[ 38.760000] CHIP TYPE: RTL8188C_8192C
[ 38.760000]
[ 38.760000] usb_endpoint_descriptor(0):
[ 38.770000] bLength=7
[ 38.770000] bDescriptorType=5
[ 38.780000] bEndpointAddress=81
[ 38.780000] wMaxPacketSize=200
[ 38.780000] bInterval=0
[ 38.790000] RT_usb_endpoint_is_bulk_in = 1
[ 38.790000]
[ 38.790000] usb_endpoint_descriptor(1):
[ 38.800000] bLength=7
[ 38.800000] bDescriptorType=5
[ 38.800000] bEndpointAddress=2
[ 38.800000] wMaxPacketSize=200
[ 38.810000] bInterval=0
[ 38.810000] RT_usb_endpoint_is_bulk_out = 2
[ 38.820000]
[ 38.820000] usb_endpoint_descriptor(2):
[ 38.820000] bLength=7
[ 38.820000] bDescriptorType=5
[ 38.830000] bEndpointAddress=3
[ 38.830000] wMaxPacketSize=200
[ 38.830000] bInterval=0
[ 38.840000] RT_usb_endpoint_is_bulk_out = 3
[ 38.840000]
[ 38.840000] usb_endpoint_descriptor(3):
[ 38.850000] bLength=7
[ 38.850000] bDescriptorType=5
[ 38.850000] bEndpointAddress=84
[ 38.860000] wMaxPacketSize=40
[ 38.860000] bInterval=1
[ 38.860000] RT_usb_endpoint_is_int_in = 4, Interval = 1
[ 38.870000] nr_endpoint=4, in_num=2, out_num=2
[ 38.870000]
[ 38.880000] USB_SPEED_HIGH
[ 39.000000] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C.
[ 39.000000] RF_Type is 3!!
[ 39.020000] EEPROM type is E-FUSE
[ 39.020000] ====> ReadAdapterInfo8192C
[ 39.030000] Boot from EFUSE, Autoload OK !
[ 39.530000] i2c-1, xfer timeout
[ 39.530000] Assertion failed! drivers/hwmon/mxc_mma7660.c,85,mma7660_read_xyz,result>=0
[ 39.720000] EEPROMVID = 0x0bda
[ 39.720000] EEPROMPID = 0x8176
[ 39.730000] EEPROMCustomerID : 0x00
[ 39.730000] EEPROMSubCustomerID: 0x00
[ 39.730000] RT_CustomerID: 0x00
[ 39.740000] _ReadMACAddress MAC Address from EFUSE = 00:13:ef:51:30:7b
[ 39.750000] EEPROMRegulatory = 0x0
[ 39.750000] _ReadBoardType(0)
[ 39.750000] BT Coexistance = disable
[ 39.760000] RT_ChannelPlan: 0x02
[ 39.760000] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
[ 39.770000] ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 39.780000] ### AntDivCfg(0)
[ 39.780000] readAdapterInfo_8192CU(): REPLACEMENT = 1
[ 39.780000] <==== ReadAdapterInfo8192C in 760 ms
[ 39.840000] rtw_macaddr_cfg MAC Address = 00:13:ef:51:30:7b
[ 39.840000] MAC Address from pnetdev->dev_addr= 00:13:ef:51:30:7b
[ 39.870000] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
[ 39.980000] +871x_drv - drv_open, bup=0
[ 40.410000] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
[ 40.410000] fw_ver=v75, fw_subver=0, sig=0x88c0
[ 40.610000] fw download ok!
[ 40.620000] Set RF Chip ID to RF_6052 and RF type to 1T1R.
[ 41.360000] IQK:Start!!!
[ 41.430000] Path A IQK Success!!
[ 41.440000] Path A IQK Success!!
[ 41.440000] IQK: final_candidate is 0
[ 41.450000] IQK: RegE94=100 RegE9C=e RegEA4=fe RegEAC=2 RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
[ 41.450000] Path A IQ Calibration Success !
[ 41.680000] pdmpriv->TxPowerTrackControl = 1
[ 41.700000] MAC Address from REG_MACID = 00:13:ef:51:30:7b
[ 41.700000] MAC Address = 00:13:ef:51:30:7b
[ 41.700000] -871x_drv - drv_open, bup=1
[ 42.360000] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
[ 42.360000] set_mode = IW_MODE_INFRA
[ 42.380000] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
[ 44.060000] survey done event(11)
[ 44.110000] set_mode = IW_MODE_INFRA
[ 44.110000] wpa_set_auth_algs, AUTH_ALG_SHARED_KEY and AUTH_ALG_OPEN_SYSTEM [value:0x3]
[ 44.140000] wpa_set_encryption, crypt.alg = WEP
[ 44.140000] (1)wep_key_idx=0
[ 44.140000] wep, set_tx=1
[ 44.140000] ==> rtw_set_key algorithm(5),keyid(0),key_mask(1)
[ 44.140000] =>rtw_wx_set_essid
[ 44.140000] ssid=subway, len=6
[ 44.140000] new candidate: subway(00:0f:66:90:9b:f1) rssi:-65
[ 44.140000] rtw_select_and_join_from_scanned_queue: candidate: subway(00:0f:66:90:9b:f1)
[ 44.140000] <=rtw_wx_set_essid
[ 44.140000] link to new AP
[ 44.320000] link to Broadcom AP
[ 44.340000] OnAuthClient
[ 44.340000] OnAssocRsp
[ 44.340000] report_join_res(5)
[ 44.350000] HW_VAR_BASIC_RATE: BrateCfg(0x15d)
[ 44.380000] HTOnAssocRsp
[ 44.390000] update raid entry, mask=0x40000fff, arg=0x80
[ 44.470000] rtl8192c_set_FwJoinBssReport_cmd mstatus(1)
[ 44.480000] SetFwRsvdPagePkt
[ 44.480000] Set RSVD page location to Fw.
[ 44.480000] =>mlmeext_joinbss_event_callback
[ 45.700000] rtl8192c_dm_RF_Saving(): RF_Normal
[ 47.750000] rtl8192c_dm_RF_Saving(): RF_Save
[ 51.720000] rtw_set_pid set pid[2]=207
...
[ 95.450000] [sun3i-ts:dbg] [suspend_store]change before TPCTRL =0x200681
[ 95.460000] [sun3i-ts:dbg] [suspend_store]change before TP_INT_CTRL=0xb0000723
[ 95.470000] [sun3i-ts:dbg] suspend on
[ 96.970000] [mmc]: awsmc.2: ShutDown.
[ 97.010000] mmc_remove_host cf975800
[ 97.060000] unregister_pm_notifier
[ 97.060000] mmc_stop_host
[ 97.070000] device_del
[ 97.070000] led_trigger_unregister_simple
[ 97.070000] [sw_hcd2]: close_usb_clock
[ 97.080000] [sw_hcd1]: close_usb_clock
[ 97.080000] WRN:L164(drivers/usb/sun3i_usb/hcd/hcd1/sw_hcd1.c):ERR: clock handle is null, sie_clk(0xc05876bc), phy_clk(0xc0587338), open(0)
[ 97.090000] [sw_hcd0]: [sw_hcd_host0]: close_usb_clock
[ 97.490000] Power down.
Hope after analysis i can find the bootloader (boot1) code now...
cool, i was just looking at this option for my tablet
I have a pmid701c that looks to be very similar to yours. I was just looking at setting up a mmc/SD cable to console in. Have you tried hitting one of the buttons. On mine that is how to get to fel mode for flashing, wondering what happens if there is a console cable hooked up
Lots of people working on the pmid at freaktab.com by the way
Hello,
You can have look here http://www.sysfwlab.com and can you tell me more about :
I was just looking at setting up a mmc/SD cable to console in
Click to expand...
Click to collapse
Do you think about hooking the reader pin to a cable ?
Or did you speak about about bootable mmc/SD ?
I can do a try i you want
Bests regards
Hi All,
From past few days i have been trying to install Mali Kernel Space driver,
I have successfully build both mali.ko and ump.ko
All the user space driver are already present in BSP.
i had copied both mali.ko and ump.ko in out/target/product/radxa_rock_pro/system/lib/modules
and build the image and copied it sd card.
when i Power ON my device with this image, the screen doesn't appears.
[ 37.822003] Mali<2>: Inserting Mali v800 device driver.
[ 37.822052] Mali<2>: Compiled: Oct 20 2015, time: 15:23:17.
[ 37.822079] Mali<2>: Driver revision: r5p2-00rel0
[ 37.822102] Mali<2>: mali_module_init() registering device
[ 37.822152] Mali: init_mali_clock mali_clock c0bf3b94
[ 37.822179] Mali<2>: MALI Clock is set at mali driver
[ 37.822439] Mali<2>: mali_module_init() registering driver
[ 37.822523] Mali<2>: mali_probe(): Called for platform device mali-utgard
[ 37.822558] entered _mali_osk_wq_init
[ 37.822577] first if executed
[ 37.822595] second if executed
[ 37.822610] return _MALI_OSK_ERR_OK
[ 37.822628] Entered mali_initialize_subsystems...
[ 37.822659] Mali<2>: Mali memory settings (shared: 0x10000000)
[ 37.822689] Mali<2>: Using device defined frame buffer settings ([email protected])
[ 37.822727] Mali<2>: Memory Validator installed for Mali physical address base=0x60000000, size=0x00800000
[ 37.822777] Mali<2>: Mali PM domain: Creating Mali PM domain (mask=0x00001000)
[ 37.822816] Mali<2>: Mali GPU Utilization: platform function callback incomplete, need check mali_gpu_device_data in platform .
[ 37.822921] Mali<2>: Mali PP: Creating Mali PP core: Mali_PP0
[ 37.822951] Mali<2>: Mali PP: Base address of PP core: 0x10098000
[ 37.823183] Mali<2>: Found Mali GPU Mali-400 MP r1p1
[ 37.823211] ENTERED..mali_mmu_initialize..
[ 37.823232] Entered..mali_allocate_empty_page..
[ 37.823254] Entered..mali_mem_os_get_table_page..
[ 37.823277] Inside if condition..After: mali_mem_page_table_page_pool.lock..
[ 37.823311] In mali_mem_os_get_table_page After #else ..
[ 37.823335] Entered dma_alloc_writecombine..
[ 37.823357] Entered __dma_alloc..
[ 37.823373] Inside get_coherent_dma_mask..
[ 37.823394] Inside get_coherent_dma_mask..dev->coherent_dma_mask=0
[ 37.823425] mali-utgard mali-utgard.0: coherent DMA mask is unset
[ 37.823454] In __dma_alloc..!page..
[ 37.823471] Return mali_mem_os_get_table_page..
[ 37.823492] mali_mmu_get_table_page..FAILED..
[ 37.823513] Mali<2>: Mali MMU: Failed to get table page for empty pgdir
[ 37.823544] mali_allocate_empty_page...
[ 37.823564] Mali: ERR: /home/rupali/mohit/DX910-SW-99002-r5p2-00rel0/driver/src/devicedrv/mali/common/mali_mmu.c
[ 37.823611] mali_mmu_initialize() 71
[ 37.823615] Mali MMU: Could not allocate empty page directory.
[ 37.823676]
[ 37.823685] _mali_mmu_initialize..
[ 37.823704] Mali<2>: terminate_subsystems() called
[ 37.823741] Mali: ERR: /home/rupali/mohit/DX910-SW-99002-r5p2-00rel0/driver/src/devicedrv/mali/linux/mali_kernel_linux.c
[ 37.823793] mali_probe() 504
[ 37.823797] mali_probe(): Failed to initialize Mali device driver.
[ 37.823854] mali-utgard: probe of mali-utgard.0 failed with error -14
[ 37.824032] Mali: Mali device driver loaded
Any one can help please..?
Thank you.
Hi guys,
I am experiencing random reboots on one of my one plus one devices.
Long story short:
reboots seem to started happening after switching to a certain carrier (Swisscom)
one of my OPOs is fine, even with the Swisscom sim card, whereas the other is affected by reboots
reboots happen even when the phone is sitting on its own, I could not identify a specific use case that triggers them
reboots happened both on stock rom and on resurrection remix (ResurrectionRemix-M-v5.7.4-20161117-bacon)
reboots seem to happen only when connected to the carrier (not in airplane mode i.e. or wifi only)
Please, see below.
Any idea?
Thanks
drive.google.com/file/d/0B_8rkSiZf4DORVhVQmZRb0R6WWc/view?usp=sharing Here the last_kmsg
Code:
[ 1376.252565] diag: Invalid private data
[ 1376.255702] smd_write_start: packet header failed to write
[ 1376.255779] msm_ipc_router_smd_remote_write: ipc_rtr_smd_ipcrtr chnl reset
[ 1376.255847] smd_write_start: packet header failed to write
[ 1376.255907] msm_ipc_router_smd_remote_write: ipc_rtr_smd_ipcrtr chnl reset
[ 1376.263753] mmc0: Starting deferred resume
[ 1376.397649] mmc0: Deferred resume completed
[ 1376.788145] pil-q6v5-mss fc880000.qcom,mss: modem: Brought out of reset
[ 1376.870168] Notify: smsm init
[ 1386.786487] subsys-restart: wait_for_err_ready(): [modem]: Error ready timed out
[ 1386.788152] modem_notifier_cb: sysmon_send_event error -38
[ 1386.788365] M-Notify: General: 5
[ 1386.788917] Kernel panic - not syncing: [dcde0f00]: Timed out waiting for error ready: modem!
[ 1386.789177] [<c010e24c>] (unwind_backtrace+0x0/0x148) from [<c0cd5494>] (panic+0xa4/0x1fc)
[ 1386.789582] [<c0cd5494>] (panic+0xa4/0x1fc) from [<c017ade8>] (subsystem_restart_wq_func+0x550/0x58c)
[ 1386.789985] [<c017ade8>] (subsystem_restart_wq_func+0x550/0x58c) from [<c01c8d8c>] (process_one_work+0x178/0x4c4)
[ 1386.790379] [<c01c8d8c>] (process_one_work+0x178/0x4c4) from [<c01c94bc>] (worker_thread+0x190/0x40c)
[ 1386.790764] [<c01c94bc>] (worker_thread+0x190/0x40c) from [<c01cf914>] (kthread+0xbc/0xc0)
[ 1386.790996] [<c01cf914>] (kthread+0xbc/0xc0) from [<c01080b4>] (kernel_thread_exit+0x0/0x8)
[ 1386.791363] CPU2: stopping
[ 1386.791432] [<c010e24c>] (unwind_backtrace+0x0/0x148) from [<c010cbc4>] (handle_IPI+0x1c4/0x1e0)
[ 1386.791533] [<c010cbc4>] (handle_IPI+0x1c4/0x1e0) from [<c0100680>] (gic_handle_irq+0xb0/0x100)
[ 1386.791626] [<c0100680>] (gic_handle_irq+0xb0/0x100) from [<c010731c>] (__irq_usr+0x3c/0x60)
[ 1386.791715] Exception stack(0xdae53fb0 to 0xdae53ff8)
[ 1386.791766] 3fa0: 9efb2d78 331ae060 00000000 0000c534
[ 1386.791855] 3fc0: 000066ad 331ae060 331ae2c0 9efb3b90 9ea3f858 9443ba00 9443ba8c 9ea3f5c4
[ 1386.791944] 3fe0: 00000000 9ea3f510 a0b45869 7287f3a4 000f0030 ffffffff
[ 1386.792036] CPU3: stopping
[ 1386.792571] [<c010e24c>] (unwind_backtrace+0x0/0x148) from [<c010cbc4>] (handle_IPI+0x1c4/0x1e0)
[ 1386.792964] [<c010cbc4>] (handle_IPI+0x1c4/0x1e0) from [<c0100680>] (gic_handle_irq+0xb0/0x100)
[ 1386.793354] [<c0100680>] (gic_handle_irq+0xb0/0x100) from [<c0107140>] (__irq_svc+0x40/0x74)
[ 1386.793719] Exception stack(0xee18df10 to 0xee18df58)
[ 1386.793926] df00: 8d4fdf3b 83126e97 060225a0 00002f57
[ 1386.794296] df20: 00000003 c1499380 00b8ebe4 00000000 cea76f60 ee18c028 005eae06 00000000
[ 1386.794664] df40: 00000000 ee18df58 00000000 c018e4c0 00000013 ffffffff
[ 1386.794900] [<c0107140>] (__irq_svc+0x40/0x74) from [<c018e4c0>] (lpm_cpuidle_enter+0x148/0x168)
[ 1386.795295] [<c018e4c0>] (lpm_cpuidle_enter+0x148/0x168) from [<c07846e8>] (cpuidle_enter_state+0x24/0x7c)
[ 1386.795678] [<c07846e8>] (cpuidle_enter_state+0x24/0x7c) from [<c0784804>] (cpuidle_idle_call+0xc4/0x214)
[ 1386.796060] [<c0784804>] (cpuidle_idle_call+0xc4/0x214) from [<c0108388>] (cpu_idle+0x90/0x118)
[ 1386.796437] [<c0108388>] (cpu_idle+0x90/0x118) from [<00cd0bd4>] (0xcd0bd4)
[ 1386.796870] wcnss crash shutdown 0
[ 1386.797111] Rebooting in 5 seconds..
[ 1391.799303] Going down for restart now
theoldbarneys said:
Hi guys,
I am experiencing random reboots on one of my one plus one devices.
Long story short:
reboots seem to started happening after switching to a certain carrier (Swisscom)
one of my OPOs is fine, even with the Swisscom sim card, whereas the other is affected by reboots
reboots happen even when the phone is sitting on its own, I could not identify a specific use case that triggers them
reboots happened both on stock rom and on resurrection remix (ResurrectionRemix-M-v5.7.4-20161117-bacon)
reboots seem to happen only when connected to the carrier (not in airplane mode i.e. or wifi only)
Please, see below.
Any idea?
Thanks
drive.google.com/file/d/0B_8rkSiZf4DORVhVQmZRb0R6WWc/view?usp=sharing Here the last_kmsg
Code:
[ 1376.252565] diag: Invalid private data
[ 1376.255702] smd_write_start: packet header failed to write
[ 1376.255779] msm_ipc_router_smd_remote_write: ipc_rtr_smd_ipcrtr chnl reset
[ 1376.255847] smd_write_start: packet header failed to write
[ 1376.255907] msm_ipc_router_smd_remote_write: ipc_rtr_smd_ipcrtr chnl reset
[ 1376.263753] mmc0: Starting deferred resume
[ 1376.397649] mmc0: Deferred resume completed
[ 1376.788145] pil-q6v5-mss fc880000.qcom,mss: modem: Brought out of reset
[ 1376.870168] Notify: smsm init
[ 1386.786487] subsys-restart: wait_for_err_ready(): [modem]: Error ready timed out
[ 1386.788152] modem_notifier_cb: sysmon_send_event error -38
[ 1386.788365] M-Notify: General: 5
[ 1386.788917] Kernel panic - not syncing: [dcde0f00]: Timed out waiting for error ready: modem!
[ 1386.789177] [<c010e24c>] (unwind_backtrace+0x0/0x148) from [<c0cd5494>] (panic+0xa4/0x1fc)
[ 1386.789582] [<c0cd5494>] (panic+0xa4/0x1fc) from [<c017ade8>] (subsystem_restart_wq_func+0x550/0x58c)
[ 1386.789985] [<c017ade8>] (subsystem_restart_wq_func+0x550/0x58c) from [<c01c8d8c>] (process_one_work+0x178/0x4c4)
[ 1386.790379] [<c01c8d8c>] (process_one_work+0x178/0x4c4) from [<c01c94bc>] (worker_thread+0x190/0x40c)
[ 1386.790764] [<c01c94bc>] (worker_thread+0x190/0x40c) from [<c01cf914>] (kthread+0xbc/0xc0)
[ 1386.790996] [<c01cf914>] (kthread+0xbc/0xc0) from [<c01080b4>] (kernel_thread_exit+0x0/0x8)
[ 1386.791363] CPU2: stopping
[ 1386.791432] [<c010e24c>] (unwind_backtrace+0x0/0x148) from [<c010cbc4>] (handle_IPI+0x1c4/0x1e0)
[ 1386.791533] [<c010cbc4>] (handle_IPI+0x1c4/0x1e0) from [<c0100680>] (gic_handle_irq+0xb0/0x100)
[ 1386.791626] [<c0100680>] (gic_handle_irq+0xb0/0x100) from [<c010731c>] (__irq_usr+0x3c/0x60)
[ 1386.791715] Exception stack(0xdae53fb0 to 0xdae53ff8)
[ 1386.791766] 3fa0: 9efb2d78 331ae060 00000000 0000c534
[ 1386.791855] 3fc0: 000066ad 331ae060 331ae2c0 9efb3b90 9ea3f858 9443ba00 9443ba8c 9ea3f5c4
[ 1386.791944] 3fe0: 00000000 9ea3f510 a0b45869 7287f3a4 000f0030 ffffffff
[ 1386.792036] CPU3: stopping
[ 1386.792571] [<c010e24c>] (unwind_backtrace+0x0/0x148) from [<c010cbc4>] (handle_IPI+0x1c4/0x1e0)
[ 1386.792964] [<c010cbc4>] (handle_IPI+0x1c4/0x1e0) from [<c0100680>] (gic_handle_irq+0xb0/0x100)
[ 1386.793354] [<c0100680>] (gic_handle_irq+0xb0/0x100) from [<c0107140>] (__irq_svc+0x40/0x74)
[ 1386.793719] Exception stack(0xee18df10 to 0xee18df58)
[ 1386.793926] df00: 8d4fdf3b 83126e97 060225a0 00002f57
[ 1386.794296] df20: 00000003 c1499380 00b8ebe4 00000000 cea76f60 ee18c028 005eae06 00000000
[ 1386.794664] df40: 00000000 ee18df58 00000000 c018e4c0 00000013 ffffffff
[ 1386.794900] [<c0107140>] (__irq_svc+0x40/0x74) from [<c018e4c0>] (lpm_cpuidle_enter+0x148/0x168)
[ 1386.795295] [<c018e4c0>] (lpm_cpuidle_enter+0x148/0x168) from [<c07846e8>] (cpuidle_enter_state+0x24/0x7c)
[ 1386.795678] [<c07846e8>] (cpuidle_enter_state+0x24/0x7c) from [<c0784804>] (cpuidle_idle_call+0xc4/0x214)
[ 1386.796060] [<c0784804>] (cpuidle_idle_call+0xc4/0x214) from [<c0108388>] (cpu_idle+0x90/0x118)
[ 1386.796437] [<c0108388>] (cpu_idle+0x90/0x118) from [<00cd0bd4>] (0xcd0bd4)
[ 1386.796870] wcnss crash shutdown 0
[ 1386.797111] Rebooting in 5 seconds..
[ 1391.799303] Going down for restart now
Click to expand...
Click to collapse
Are you sure sim is inserted correctly?
Did you try reinserting it?
Mr.Ak said:
Are you sure sim is inserted correctly?
Did you try reinserting it?
Click to expand...
Click to collapse
Hi,
yes, tried several times.
Also, let me add the fact that this OPO has a couple of years of perfect service, so I would exclude HW problems.
theoldbarneys said:
Hi,
yes, tried several times.
Also, let me add the fact that this OPO has a couple of years of perfect service, so I would exclude HW problems.
Click to expand...
Click to collapse
Try clean flashing Cos through fastboot.
Mr.Ak said:
Try clean flashing Cos through fastboot.
Click to expand...
Click to collapse
Yep, done that already with twrp and installed a fresh resurrection remix
im not an advanced user at all, just like tinkering. i manged to hard brick my phone. blank screen, no lights when you plug it in. i downloaded a blank flash and tried flashing my ROM, unsecessful... tried many different combinations and many many times, a couple of different blank flashes and this is as far as i can manage to get.
blankflash_from_QCO30.85-18]# /home/joel/Desktop/blankflash_fr
om_QCO30.85-18/blank-flash.sh
< waiting for device >
Motorola qboot utility version 3.40
[ 0.000] Opening device: /dev/ttyUSB0
[ 0.000] Detecting device
[ 0.005] ...cpu.id = 186 (0xba)
[ 0.005] ...cpu.sn = 2335135194 (0x8b2f55da)
[ 0.005] Opening singleimage
[ 0.005] Loading package
[ 0.012] ...filename = singleimage.pkg.xml
[ 0.016] Loading programmer
[ 0.016] ...filename = programmer.mbn
[ 0.016] Sending programmer
[ 0.309] Handling things over to programmer
[ 0.310] Identifying CPU version
[ 0.315] Waiting for firehose to get ready
[ 3.330] ...MSM8953 1.0
[ 3.330] Determining target secure state
[ 3.335] ...secure = yes
[ 3.372] Configuring device...
[ 3.377] Flashing GPT...
[ 3.377] Flashing partition with gpt.bin
[ 3.380] Initializing storage
[ 6.382] Target NAK!
[ 6.382] ...num_partition_sectors=61071360
[ 6.382] ...SECTOR_SIZE_IN_BYTES=512
[ 6.382] ...MFR_ID=144
[ 6.382] ...OEM_ID=74
[ 6.382] ...Product name=hB8aP>
[ 6.382] ...{"storage_info": {"total_blocks":61071360, "
block_size":512, "page_size":512, "num_physical":3, "
;mfr_id":144, "serial_num":558412845, "fw_version":"
875573296","mem_type":"eMMC", "prod_name":"
;hB8aP>"}}
[ 6.382] ...XML (0 bytes) not validated
[ 6.382] ERROR: do_package()->do_recipe()->do_flash()->flash_simg()->do_package()
->do_recipe()->do_flash()->gpt_flash()->get_storage()->init_storage()->firehose_do
_fmt()->do_recipe()->NAK
[ 6.382] Check qboot_log.txt for more details
[ 6.382] Total time: 6.382s
FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_flash()->flash_simg(
)->do_package()->do_recipe()->do_flash()->gpt_flash()->get_storage()->init_storage
()->firehose_do_fmt()->do_recipe()->NAK