Replacing U Boot Kernel

Post Reply
ColtB45
Android 1.0
Posts: 3
Joined: Sat Aug 23, 2014 1:03 pm

Replacing U Boot Kernel

Post by ColtB45 » Sat Aug 23, 2014 1:09 pm

I have replaced the default kernel with the U Boot Kernel. I'm done with it and would like to revert to the standard kernel which I backed up before hand with "cp /mnt/media/usb.2EF833DEF833A2CF/gtvhacker-kernel /mnt/media/usb.2EF833DEF833A2CF/ORIGkernel.bin". The problem is I don't know where or how to flash it back from the U Boot kernel.

I do have console access to the pulse.

Thanks,
ColtB45

ColtB45
Android 1.0
Posts: 3
Joined: Sat Aug 23, 2014 1:03 pm

Re: Replacing U Boot Kernel

Post by ColtB45 » Sat Aug 23, 2014 9:00 pm

Alright I am able to boot the GTV Hacker Hisense recovery by stripping off the first 0x2D8000 bytes dropping it on a flash drive and booting it with

Code: Select all

usb start; fatload usb 0:1 0x01308000 rec.bin 29794912; go 0x01308000
That would probably be the end of things if it worked. I'd just flash a official update.zip back to get the original kernel and move on.

But it doesn't work. I've never been able to boot the GTV hacker recovery to completion, not even before flashing the GTV hacker U Boot kernel.

It's always failed at:

Code: Select all

[    2.236909] PJ4 iWMMXt coprocessor enabled.
[    2.242571] Unhandled fault: imprecise external abort (0x1c06) at 0x00000000
[    2.249878] Internal error: : 1c06 [#1] PREEMPT SMP
Any ideas? Any way to get a decrypted copy of the stock recovery so I can boot it?

Here is the full boot as seen from console:

Code: Select all

sys_init start. boot_strap=0000008Customer key found, loading customer key...
bootloader image verified, start...

RDKDMP A0 [Dec 12 2012 18:18:08]
uiBoot = 0
Pinmux configuration:

GSM 0xf7fcd040 0x0005c400;
GSOC 0xf7ea0000 0x12820004;
GSOC1 0xf7ea0004 0x88493482;

leakage info 1040.
set voltage to 1025.
set vcore to 1025
vout_percentage 9c, set Vout to 1025mV
GpioOneWireVoltCtrl, data = 0x2a539
Disable SATA on bootloader.
disable ADAC
disable LVDS
disable VDAC
0xf7e80408 0x00000000;
0xf7e80404 0x00000080;
0xf7e80400 0x00000080;
0xf7e80c08 0x00000000;
0xf7e80c04 0x00000081;
0xf7e80c00 0x0000007e;
Power down sdio slot0
0xf7e80408 0x00000000;
0xf7e80404 0x00000082;
0xf7e80400 0x00000080;
0xf7ea0014: 8d48a005 0108312a 00100000 08000000
0xf7ea0028: 8d48a005 03c80c02 001c0400 00a71f40
0xf7ea003c: 9948b005 0108312d 00100000 00000000
Clock configuration:
 cpuPll         frequency 1200
 memPll         frequency 1600
 sysPll         frequency 800
 dClk           frequency 400
 cpuClk         frequency 1200
 sysClk         frequency 400
 drmClk         frequency 400
 cfgClk         frequency 100
 gfxClk         frequency 400
 zspClk         frequency 490
 perifClk       frequency 200
 pCubeClk       frequency 850
 vScopeClk      frequency 850
 nfcEccClk      frequency 400
 vppSysClk      frequency 400
 appClk         frequency 800
 gfx3DCoreClk   frequency 690
 gfx3DSysClk    frequency 490
 arcRefClk      frequency 400
 vipClk         frequency 400
 sdioXinClk     frequency 100
 sdio1XinClk    frequency 100
 gfx3DExtraClk  frequency 490
 gc360Clk       frequency 400
NAND block size 1048576, page size 4096, ecc_strength 48
nand_randomizer_init_by_flash_type(chip_id = 0x2C68044AA900): !!! UNRANDOMIZED !!!
[00,d00] block0: part1(start=0, blks=1, version=201212121818), part2(start=0, blks=1, version=000000000000)
[01,d01] bootloader: part1(start=1, blks=8, version=201212121818), part2(start=1, blks=8, version=000000000000)
[02,d02] aligned: part1(start=9, blks=3, version=201212121818), part2(start=9, blks=3, version=000000000000)
[03,d03] u-boot.env: part1(start=12, blks=4, version=201212121818), part2(start=12, blks=4, version=000000000000)
[04,d04] sysconf: part1(start=16, blks=64, version=201212121818), part2(start=16, blks=64, version=000000000000)
[05,d05] factory_setting: part1(start=80, blks=32, version=201212121818), part2(start=80, blks=32, version=000000000000)
[06,d06] bootimgs: part1(start=112, blks=20, version=201212121818), part2(start=132, blks=20, version=000000000000)
[07,d08] kernel: part1(start=152, blks=20, version=201212121818), part2(start=152, blks=20, version=000000000000)
[08,d09] fts: part1(start=172, blks=12, version=201212121818), part2(start=172, blks=12, version=000000000000)
[09,d10] boot: part1(start=184, blks=60, version=201212121818), part2(start=184, blks=60, version=000000000000)
[10,d11] system: part1(start=244, blks=512, version=201212121818), part2(start=244, blks=512, version=000000000000)
[11,d12] reserved: part1(start=756, blks=4, version=201212121818), part2(start=756, blks=4, version=000000000000)
[12,d13] cache: part1(start=760, blks=300, version=201212121818), part2(start=760, blks=300, version=000000000000)
[13,d14] userdata: part1(start=1060, blks=2048, version=201212121818), part2(start=1060, blks=2048, version=000000000000)
[14,d15] chrome: part1(start=3108, blks=900, version=201212121818), part2(start=3108, blks=900, version=000000000000)
[15,d16] recovery: part1(start=4008, blks=80, version=201212121818), part2(start=4008, blks=80, version=000000000000)
[16,d17] bbt: part1(start=4088, blks=8, version=201212121818), part2(start=4088, blks=8, version=000000000000)
flash_ts_init() start.
fts: v751 loaded from 0x00bb8000
flash_ts_init() success.
get macaddr from fts: 90:cf:7d:ff:ff:ff
macaddr=90:cf:7d:ff:ff:ff
WOL MAC address: 90:cf:7d:ff:ff:ff
Not warm up.
start to kick off SM CPU: start 0x00686508, size 44172
SM CPU is kicked[ 1o]fIf(.S
)f:t se:n tcerra smhacionu M
t[e4r].Ia(nSdMr)o:i dS:M  2s
afrttss:,  beonottelrosa dwearr.mcuopm msatnadt:e !

[12]I(SM): begin to run tasks
[15]I(SM): uFlickNum = 1
Kernel image decrypt start now
[515]I(SM): uFlickNum = 2
Kernel image decrypt finished
verify Kernel image passed.
OTP Temperature: 94 celsius degree
BOOT: CPU - B0
get macaddr from fts: 90:cf:7d:ff:ff:ff
macaddr=90:cf:7d:ff:ff:ff
WOL MAC address: 90:cf:7d:ff:ff:ff
Image3 bootargs: androidboot.console=ttyS0 console=ttyS0,115200 init=/init pxa3xx_nand.use_cache_program=0 pxa3xx_nand.use_dp=1 pxa3xx_nand.plane_cmdline=(cache)dp,(userdata)dp,(chrome)dp mtdparts=mv_nand:1M(block0),8M(bootloader),3M(aligned),4M(u-boot.env),64M(sysconf),32M(factory_setting),20M(bootimgs),20M(bootimgs-B),20M(kernel),12M(fts),60M(boot),512M(system),4M(reserved),300M(cache),2G(userdata),900M(chrome),80M(recovery),8M(bbt) macaddr=90:cf:7d:ff:ff:ff flash_ts.dev_id=9 flash_ts.size=12582912 flash_ts.erasesize=1048576 flash_ts.writesize=4096
mkbootimg bootargs: androidboot.hardware=gx1200v root=/dev/mtdblock:boot
Ramdisk magic: ea000012
Generated bootargs: androidboot.hardware=gx1200v root=/dev/mtdblock:boot androidboot.console=ttyS0 console=ttyS0,115200 init=/init pxa3xx_nand.use_cache_program=0 pxa3xx_nand.use_dp=1 pxa3xx_nand.plane_cmdline=(cache)dp,(userdata)dp,(chrome)dp mtdparts=mv_nand:1M(block0),8M(bootloader),3M(aligned),4M(u-boot.env),64M(sysconf),32M(factory_setting),20M(bootimgs),20M(bootimgs-B),20M(kernel),12M(fts),60M(boot),512M(system),4M(reserved),300M(cache),2G(userdata),900M(chrome),80M(recovery),8M(bbt) macaddr=90:cf:7d:ff:ff:ff flash_ts.dev_id=9 flash_ts.size=12582912 flash_ts.erasesize=1048576 flash_ts.writesize=4096 ramdisk_size=363
Send bootmode=0 to SM.
R[e1s0p0o3n]dIi(nSgM )t:o  sSyMs.s.t.a
eW a=r m0 xu0p,.                      t
yPpoew e=r  0oxn8 ,s dcioon tselnott 0=
00xx0f
e80408 0x00000000[;1
105x]fI7(eS8M0)4:0 4u F0lxi0c0k0N0u0m0 8=2 ;3

0xf7e80400 0x00000082;
Boot normal GTV image
[Flash Write]page=0x0000b7bc, buf=0x006a066c, size=4096
[mv_nand_write_large_page,788] addr=0x0b7bc000, buf=0x006ac674, oob=0
[Flash Write]page=0x0000b7bd, buf=0x006a166c, size=4096
[mv_nand_write_large_page,788] addr=0x0b7bd000, buf=0x006ac674, oob=0
[Flash Write]page=0x0000b7be, buf=0x006a266c, size=4096
[mv_nand_write_large_page,788] addr=0x0b7be000, buf=0x006ac674, oob=0
[Flash Write]page=0x0000b7bf, buf=0x006a366c, size=4096
[mv_nand_write_large_page,788] addr=0x0b7bf000, buf=0x006ac674, oob=0
fts: record v752 commited @ 0x00bbc000
Start kernel at 0x01008000
raise: Signal # 8 caught


U-Boot 2010.09-rc1 (Jun 03 2013 - 13:49:58)

Marvell U-boot Version 2.4 for MV88DE3100(B1) ASIC
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
DRAM:  1 GiB
[mv_nand_chip_init,634] NFC dump register:
        NDTR0CS0  = 0x84840a12
        NDTR1CS0  = 0x00208662
        NDREDEL   = 0x00000000
        NDSR      = 0x00000000
        NDCR      = 0x0186dfff
        NDECCCTRL = 0x10000000
NAND chip id 2C68044AA900FFFF
nand_randomizer_init_by_flash_type(chip_id = 0x2C68044AA900): !!! UNRANDOMIZED !!!
[init_timing,1411] NDTR0=0x84840a12, NDTR1=0x00208662, NDREDEL=0x00000000
Chip size 4294967296B, block size: 1048576B, page size: 4096B, oob size: 32B, ecc: 48bits/2kB
Flash: 16 MiB
env_relocate[514] malloced ENV at 0cb01010
environment in SPI flash is invalid.
fail to load enviroment, use default.
mv_nand_readdata @ 00C00000
Fail to load environment from NAND flash.
macaddr: 00:80:11:11:00:41
In:    serial
Out:   serial
Err:   serial
MMC:   MV_SDIO: 0
Net:   Galois eth0, ethaddr=00:80:11:11:00:41
eth0
Hit any key to stop autoboot:  3 [1515]I(SM): uFlickNum = 4
[2015]I(SM): uFlickNum = 5                                                                                                                                 2 [2515]I(SM): uFlickNum = 6
[3015]I(SM): uFlickNum = 7                                                                                                                                 1 [3515]I(SM): uFlickNum = 8
[4015]I(SM): uFlickNum = 9                                                                                                                                 0
MV88DE3100|> [4515]I(SM): uFlickNum = 10
[5015]I(SM): uFlickNum = 11
[5515]I(SM): uFlickNum = 12
[6015]I(SM): uFlickNum = 13
[6515]I(SM): uFlickNum = 14
[7015]I(SM): uFlickNum = 15
[7515]I(SM): uFlickNum = 16
[8015]I(SM): uFlickNum = 17
usb start; fatload usb 0:1 0x01308000 rec.bin 29794912; go 0x01308000
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
reading rec.bin

29794912 bytes read
## Starting application at 0x01308000 ...
Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.14 ([email protected]) (gcc version 4.5.3 (gtv 20130113) ) #8 SMP PREEMPT Wed Jul 24 18:30:18 PDT 2013
[    0.000000] CPU: ARMv7 Processor [562f5841] revision 1 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: MV88DE3100
[    0.000000] Ignoring unrecognised tag 0x54410009
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] INITRD: 0x01008000+0x0005a9f4 overlaps in-use memory region - disabling initrd
[    0.000000] PERCPU: Embedded 7 pages/cpu @85007000 s6624 r8192 d13856 u65536
[    0.000000] pcpu-alloc: s6624 r8192 d13856 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 162560
[    0.000000] Kernel command line: androidboot.hardware=berlin root=/dev/ram0 androidboot.console=ttyS0 console=ttyS0,115200 init=/init pxa3xx_nand.use_cache_program=0 pxa3xx_nand.use_dp=1 pxa3xx_nand.plane_cmdline=(cache)dp,(userdata)dp,(chrome)dp mtdparts=mv_nand:1M(block0),8M(bootloader),3M(aligned),4M(u-boot.env),64M(sysconf),32M(factory_setting),20M(bootimgs),20M(bootimgs-B),20M(kernel),12M(fts),60M(boot),512M(system),4M(reserved),300M(cache),2G(userdata),900M(chrome),80M(recovery),8M(bbt) flash_ts.dev_id=9 flash_ts.size=12582912 flash_ts.erasesize=1048576 flash_ts.writesize=8192
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 640MB = 640MB total
[    0.000000] Memory: 572604k/572604k available, 82756k 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 : 0xa8800000 - 0xf6000000   (1240 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa8000000   ( 640 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .init : 0x80008000 - 0x8002b000   ( 140 kB)
[    0.000000]       .text : 0x8002b000 - 0x80497000   (4528 kB)
[    0.000000]       .data : 0x80498000 - 0x804c20a0   ( 169 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:118
[    0.040319] Calibrating delay loop... 1196.03 BogoMIPS (lpj=5980160)
[    0.280273] pid_max: default: 4096 minimum: 301
[    0.280402] Mount-cache hash table entries: 512
[    0.280817] Initializing cgroup subsys cpuacct
[    0.280863] CPU: Testing write buffer coherency: ok
[    0.281059] Calibrating local timer... 399.96MHz.
[    0.521680] CPU1: Booted secondary processor
[    0.760040] Brought up 2 CPUs
[    0.760061] SMP: Total of 2 processors activated (2392.06 BogoMIPS).
[    0.763059] NET: Registered protocol family 16
[    0.763130] Tauros3: System L2 cache support initialised
[    0.764617] CPU clock 1200000000Hz, timer clock 100000000Hz
[    0.764623] Linux memory start: 0x01000000
[    0.764638] hw perfevents: enabled with Marvell PJ4B PMU driver, 7 counters available
[    0.778132] bio: create slab <bio-0> at 0
[    0.782162] SCSI subsystem initialized
[    0.782477] usbcore: registered new interface driver usbfs
[    0.782700] usbcore: registered new interface driver hub
[    0.782862] usbcore: registered new device driver usb
[    0.783529] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.784082] Bluetooth: Core ver 2.15
[    0.784191] NET: Registered protocol family 31
[    0.784200] Bluetooth: HCI device and connection manager initialized
[    0.784213] Bluetooth: HCI socket layer initialized
[    0.784457] Switching to clocksource apbt
[    0.786152] NET: Registered protocol family 2
[    0.786243] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.786472] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.787629] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.788198] TCP: Hash tables configured (established 131072 bind 65536)
[    0.788208] TCP reno registered
[    0.788357] NET: Registered protocol family 1
[    0.950675] PMU: registered new PMU device of type 0
[    0.950808] galois_pinmux_init
[    0.950967] current setting: 12820004:88493482:5c400
[    0.950999] mv88de3100_eth1 mv88de3100_eth1: use dummy geth_platform_data
[    0.951089] Marvell PHY, LED2:link, LED0:link/act.
[    0.951697] eth0: Dropping NETIF_F_SG since no checksum feature.
[    0.952391] net eth0: port 0 with MAC address 00:18:8b:7b:6e:77
[    0.952676] register major 249
[    0.952797] minor=0
[    0.952928] minor=1
[    0.953049] minor=2
[    0.953172] minor=3
[    0.953663] [Galois][shm_driver] memory size (bytes)                 = 0x16400000
[    0.953674] [Galois][shm_driver] memory threshold (bytes)            = 0x00000040
[    0.953685] [Galois][shm_driver] memory base phys addr               = 0x29000000
[    0.953694] [Galois][shm_driver] shm_device_create OK.
[    0.953704] [Galois][shm_driver] memory size (bytes)                 = 0x00C00000
[    0.953713] [Galois][shm_driver] memory threshold (bytes)            = 0x00000040
[    0.953723] [Galois][shm_driver] memory base phys addr               = 0x3F400000
[    0.953732] [Galois][shm_driver] shm_device_create OK.
[    0.953743] [Galois][shm_driver] memory ioremap_noncache, base:0x3F400000, size:0x00C00000
[    0.954417] [Galois][shm_driver] memory ioremap, base:0x29000000, size:0x16400000
[    0.973621] [Galois][shm_driver] memory base virt addr (cache)       = 0xAA000000
[    0.973636] [Galois][shm_driver] memory base virt addr (non-cache)   = 0xA9000000
[    0.973645] [Galois][shm_driver] MV_SHM_Init OK
[    0.973686] [Galois][shm_driver] shm_driver_init OK
[    0.974089] [Galois][cc_driver] cc_driver_init OK
[    0.974233] NetWinder Floating Point Emulator V0.97 (extended precision)
[    0.980515] ashmem: initialized
[    0.997241] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.997303] NTFS driver 2.1.29 [Flags: R/O].
[    0.997334] fuse init (API version 7.14)
[    0.997608] msgmni has been set to 1118
[    1.017646] io scheduler noop registered
[    1.017657] io scheduler deadline registered
[    1.017677] io scheduler cfq registered (default)
[    1.017934] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.018848] serial8250.0: ttyS0 at MMIO 0xf7fc9000 (irq = 104) is a 16550A
[    1.643093] console [ttyS0] enabled
[    1.647047] serial8250.0: ttyS1 at MMIO 0xf7fca000 (irq = 105) is a 16550A
[    1.654455] serial8250.0: ttyS2 at MMIO 0xf7fcb000 (irq = 106) is a 16550A
[    1.662287] brd: module loaded
[    1.668300] loop: module loaded
[    1.672656] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.679498] mv88de3100_ehci mv88de3100_ehci.0: Marvell On-Chip EHCI Host Controller
[    1.687500] mv88de3100_ehci mv88de3100_ehci.0: new USB bus registered, assigned bus number 1
[    1.727043] mv88de3100_ehci mv88de3100_ehci.0: irq 43, io mem 0xf7ed0000
[    1.747021] mv88de3100_ehci mv88de3100_ehci.0: USB 2.0 started, EHCI 1.00
[    1.754141] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.761178] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.768658] usb usb1: Product: Marvell On-Chip EHCI Host Controller
[    1.775136] usb usb1: Manufacturer: Linux 2.6.35.14 ehci_hcd
[    1.780996] usb usb1: SerialNumber: mv88de3100_ehci.0
[    1.786756] hub 1-0:1.0: USB hub found
[    1.790664] hub 1-0:1.0: 1 port detected
[    1.795094] usb_ehci_mv_probe : usb_add_hcd successful
[    1.800453] mv88de3100_ehci mv88de3100_ehci.1: Marvell On-Chip EHCI Host Controller
[    1.808413] mv88de3100_ehci mv88de3100_ehci.1: new USB bus registered, assigned bus number 2
[    1.844542] mv88de3100_ehci mv88de3100_ehci.1: irq 44, io mem 0xf7ee0000
[    1.864525] mv88de3100_ehci mv88de3100_ehci.1: USB 2.0 started, EHCI 1.00
[    1.871623] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.878651] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.886115] usb usb2: Product: Marvell On-Chip EHCI Host Controller
[    1.892612] usb usb2: Manufacturer: Linux 2.6.35.14 ehci_hcd
[    1.898473] usb usb2: SerialNumber: mv88de3100_ehci.1
[    1.904258] hub 2-0:1.0: USB hub found
[    1.908158] hub 2-0:1.0: 1 port detected
[    1.912563] usb_ehci_mv_probe : usb_add_hcd successful
[    1.918003] Initializing USB Mass Storage driver...
[    1.923238] usbcore: registered new interface driver usb-storage
[    1.929461] USB Mass Storage support registered.
[    1.934526] usbcore: registered new interface driver usbserial
[    1.940686] USB Serial support registered for generic
[    1.946036] usbcore: registered new interface driver usbserial_generic
[    1.952798] usbserial: USB Serial Driver core
[    1.957846] IR NEC protocol handler initialized
[    1.962534] IR RC5(x) protocol handler initialized
[    1.967501] IR RC6 protocol handler initialized
[    1.972185] IR JVC protocol handler initialized
[    1.976867] Linux video capture interface: v2.00
[    1.981758] gspca: main v2.9.0 registered
[    1.986247] usbcore: registered new interface driver uvcvideo
[    1.992201] USB Video Class driver (v0.1.0)
[    1.996527] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    2.002770] sdhci: Secure Digital Host Controller Interface driver
[    2.009178] sdhci: Copyright(c) Pierre Ossman
[    2.013947] mmc0: SDHCI controller on MVSD [mv_sdhci] using DMA
[    2.020135] mmc1: Invalid maximum block size, assuming 512 bytes
[    2.026513] mmc1: SDHCI controller on MVSD [mv_sdhci.0] using DMA
[    2.032876] mmc2: Invalid maximum block size, assuming 512 bytes
[    2.039249] mmc2: SDHCI controller on MVSD [mv_sdhci.1] using DMA
[    2.046356] usbcore: registered new interface driver hiddev
[    2.052267] usbcore: registered new interface driver usbhid
[    2.058047] usbhid: USB HID core driver
[    2.062377] logger: created 256K log 'log_main'
[    2.067257] logger: created 256K log 'log_events'
[    2.072263] logger: created 64K log 'log_radio'
[    2.077116] logger: created 64K log 'log_system'
[    2.082365] usbcore: registered new interface driver snd-usb-audio
[    2.088895] ALSA device list:
[    2.091967]   No soundcards found.
[    2.095764] oprofile: using timer interrupt.
[    2.100241] nf_conntrack version 0.5.0 (8946 buckets, 35784 max)
[    2.106588] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[    2.114274] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[    2.122472] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[    2.124563] usb 1-1: new high speed USB device using mv88de3100_ehci and address 2
[    2.136920] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.137402] mmc1: new high speed SDIO card at address 0001
[    2.148161] TCP cubic registered
[    2.151557] NET: Registered protocol family 10
[    2.156668] IPv6 over IPv4 tunneling driver
[    2.162140] NET: Registered protocol family 17
[    2.166831] Bluetooth: UCD (Unicast Connectionless Data) ver 0.1
[    2.173089] Bluetooth: L2CAP ver 2.14
[    2.176878] Bluetooth: L2CAP socket layer initialized
[    2.182114] Bluetooth: SCO (Voice Link) ver 0.6
[    2.186798] Bluetooth: SCO socket layer initialized
[    2.191910] Bluetooth: RFCOMM TTY layer initialized
[    2.196955] Bluetooth: RFCOMM socket layer initialized
[    2.202312] Bluetooth: RFCOMM ver 1.11
[    2.206191] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.211692] Bluetooth: BNEP filters: protocol multicast
[    2.217122] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.223391] Bluetooth: UCD (Unicast Connectionless Data) ver 0.1
[    2.229886] input: Bluetooth UCD Input as /devices/virtual/input/input0
[    2.236909] PJ4 iWMMXt coprocessor enabled.
[    2.242571] Unhandled fault: imprecise external abort (0x1c06) at 0x00000000
[    2.249878] Internal error: : 1c06 [#1] PREEMPT SMP
[    2.254921] last sysfs file:
[    2.257992] Modules linked in:
[    2.261175] CPU: 1    Not tainted  (2.6.35.14 #8)
[    2.266047] PC is at driver_register+0x4/0x128
[    2.270646] LR is at platform_driver_register+0x4c/0x60
[    2.275525] usb 1-1: default language 0x0409
[    2.276272] usb 1-1: udev 2, busnum 1, minor = 1
[    2.276283] usb 1-1: New USB device found, idVendor=8644, idProduct=800a
[    2.276294] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.276304] usb 1-1: Product: USB Flash Disk
[    2.276313] usb 1-1: Manufacturer: General
[    2.276322] usb 1-1: SerialNumber: 00000000000003EB
[    2.276702] usb 1-1: usb_probe_device
[    2.276719] usb 1-1: configuration #1 chosen from 1 choice
[    2.276915] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[    2.277203] usb-storage 1-1:1.0: usb_probe_interface
[    2.277230] usb-storage 1-1:1.0: usb_probe_interface - got id
[    2.284685] scsi0 : usb-storage 1-1:1.0
[    2.285642] drivers/usb/core/inode.c: creating file '002'
[    2.285740] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
[    2.285753] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[    2.363862] pc : [<80203094>]    lr : [<80204184>]    psr: 60000013
[    2.363867] sp : a7c35f80  ip : a7c35f80  fp : a7c35f8c
[    2.375737] r10: 00000000  r9 : 00000000  r8 : 84a47f40
[    2.381141] r7 : 00000001  r6 : 8000e650  r5 : 800240a8  r4 : 80024074
[    2.387889] r3 : 00000000  r2 : 00000000  r1 : 84a3b400  r0 : 804a37a4
[    2.394638] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    2.402192] Control: 10c53c7d  Table: 0100406a  DAC: 00000015
[    2.408132]
[    2.408135] PC: 0x80203014:
[    2.412563] 3014  e24cb004 e2504000 0a000002 e5943030 e3530000 1a000004 e59f003c e3001106
[    2.421182] 3034  e59f2038 ebf9afc0 e89da830 e5945028 e3550000 1a000002 ea000004 e5940030
[    2.429801] 3054  ebfcc49f e4951004 e3510000 1afffffa e1a00004 ebfffde9 e89da830 80455404
[    2.438418] 3074  8045541a e1a0c00d e92dd800 e24cb004 e5900030 ebff6e46 e89da800 e1a0c00d
[    2.447037] 3094  e92dddf0 e24cb004 e5903004 e1a04000 e5932030 e3520000 1a000000 eafffffe
[    2.455654] 30b4  e5932018 e3520000 0a000002 e5902014 e3520000 1a00000b e593201c e3520000
[    2.464272] 30d4  0a000002 e5942018 e3520000 1a000005 e5933020 e3530000 0a000005 e594301c
[    2.472895] 30f4  e3530000 0a000002 e59f00ac e5941000 eb06969d e8940003 ebffffb3 e3500000
[    2.481515]
[    2.481518] LR: 0x80204104:
[    2.485947] 4104  e3a03000 e0922000 e0a33001 e1a00002 e1a01003 e89da800 84a4a944 e1a0c00d
[    2.494563] 4124  e92dd800 e24cb004 e2800014 ebfffbb5 e89da800 e1a0c00d e92dd800 e24cb004
[    2.503183] 4144  e59f303c e5803018 e5903000 e3530000 159f3030 15803028 e5903004 e3530000
[    2.511800] 4164  159f3024 1580302c e5903008 e3530000 159f3018 15803030 e2800014 ebfffbc2
[    2.520419] 4184  e89da800 804aa400 80203cf4 80203d28 80203d48 e1a0c00d e92dd878 e24cb004
[    2.529028] 41a4  e3a03001 e5801000 e5c03024 e1a04000 ebffffdf e59f3068 e1a06000 e5930030
[    2.537647] 41c4  e2800058 eb069e63 e3a03000 e1560003 e5843000 11a05006 1a000005 e5943044
[    2.546265] 41e4  e283202c e593302c e1530002 03e05012 13a05000 e59f302c e5843028 e59f3020
[    2.554882]
[    2.554885] SP: 0xa7c35f00:
[    2.559315] 5f00  00000000 2020205b 322e3220 30393633 00205d39 ffffffff a7c35f6c 8000e650
[    2.567934] 5f20  00000001 84a47f40 a7c35f8c a7c35f38 8002bcec 8002b418 804a37a4 84a3b400
[    2.576551] 5f40  00000000 00000000 80024074 800240a8 8000e650 00000001 84a47f40 00000000
[    2.585171] 5f60  00000000 a7c35f8c a7c35f80 a7c35f80 80204184 80203094 60000013 ffffffff
[    2.593789] 5f80  a7c35f9c a7c35f90 8000e664 80204144 a7c35fcc a7c35fa0 8002b6c8 8000e65c
[    2.602408] 5fa0  a7c35fcc a7c35fb0 800a88ec 800a5234 80024074 800240a8 84a47f3c 00000004
[    2.611024] 5fc0  a7c35ff4 a7c35fd0 80008bac 8002b66c 00000000 00000000 80008a3c 800726b8
[    2.619644] 5fe0  00000013 00000000 00000000 a7c35ff8 800726b8 80008a48 ffffffff ffffffff
[    2.628260]
[    2.628263] IP: 0xa7c35f00:
[    2.632693] 5f00  00000000 2020205b 322e3220 30393633 00205d39 ffffffff a7c35f6c 8000e650
[    2.641311] 5f20  00000001 84a47f40 a7c35f8c a7c35f38 8002bcec 8002b418 804a37a4 84a3b400
[    2.649919] 5f40  00000000 00000000 80024074 800240a8 8000e650 00000001 84a47f40 00000000
[    2.658538] 5f60  00000000 a7c35f8c a7c35f80 a7c35f80 80204184 80203094 60000013 ffffffff
[    2.667156] 5f80  a7c35f9c a7c35f90 8000e664 80204144 a7c35fcc a7c35fa0 8002b6c8 8000e65c
[    2.675775] 5fa0  a7c35fcc a7c35fb0 800a88ec 800a5234 80024074 800240a8 84a47f3c 00000004
[    2.684393] 5fc0  a7c35ff4 a7c35fd0 80008bac 8002b66c 00000000 00000000 80008a3c 800726b8
[    2.693011] 5fe0  00000013 00000000 00000000 a7c35ff8 800726b8 80008a48 ffffffff ffffffff
[    2.701631]
[    2.701634] FP: 0xa7c35f0c:
[    2.706063] 5f0c  30393633 00205d39 ffffffff a7c35f6c 8000e650 00000001 84a47f40 a7c35f8c
[    2.714681] 5f2c  a7c35f38 8002bcec 8002b418 804a37a4 84a3b400 00000000 00000000 80024074
[    2.723299] 5f4c  800240a8 8000e650 00000001 84a47f40 00000000 00000000 a7c35f8c a7c35f80
[    2.731917] 5f6c  a7c35f80 80204184 80203094 60000013 ffffffff a7c35f9c a7c35f90 8000e664
[    2.740536] 5f8c  80204144 a7c35fcc a7c35fa0 8002b6c8 8000e65c a7c35fcc a7c35fb0 800a88ec
[    2.749153] 5fac  800a5234 80024074 800240a8 84a47f3c 00000004 a7c35ff4 a7c35fd0 80008bac
[    2.757769] 5fcc  8002b66c 00000000 00000000 80008a3c 800726b8 00000013 00000000 00000000
[    2.766376] 5fec  a7c35ff8 800726b8 80008a48 ffffffff ffffffff 00000000 00000001 00000000
[    2.774995]
[    2.774997] R0: 0x804a3724:
[    2.779428] 3724  8004122c 00000000 80040fe8 00000000 00000000 00000000 00000000 00000000
[    2.788044] 3744  00000000 00000000 00000000 00000000 00000000 00000000 00000258 00000040
[    2.796662] 3764  00000040 00000008 00000008 00000040 00000040 00000008 00000008 00000000
[    2.805277] 3784  00000000 804a3788 804a3788 80047380 80042fd0 00000000 80042dbc 800472c0
[    2.813895] 37a4  80437ff2 804aa400 00000000 00000000 00000000 80203cf4 80203d28 00000000
[    2.822515] 37c4  00000000 00000000 00000000 00000000 00000000 00000000 00000001 ffffffff
[    2.831130] 37e4  00503000 00701080 d0600090 002a00ff 007a2423 00306060 10811180 00d06060
[    2.839747] 3804  00e00500 15811180 8043942a 80439421 80439433 00000000 00000000 00000800
[    2.848365]
[    2.848368] R1: 0x84a3b380:
[    2.852797] b380  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.861412] b3a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.870029] b3c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.878644] b3e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.887262] b400  00000000 850042bf 00000000 00000000 00000000 00000000 85004020 85004260
[    2.895878] b420  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.904493] b440  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.913109] b460  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.921723]
[    2.921726] R4: 0x80023ff4:
[    2.926156] 3ff4  8001c3bc 8001c430 8001d5c0 8001d618 8001d720 8001d740 8001eda8 8001f028
[    2.934774] 4014  80346854 80020978 80020bac 80020d0c 80020d2c 80020de4 80020f88 80020fe4
[    2.943392] 4034  80021024 800212c4 80022658 800226c4 80022914 80022b30 80022ce4 80022e14
[    2.952008] 4054  80022ef0 80023048 80023138 800231fc 8000bf80 8003a024 8000e530 8000e650
[    2.960626] 4074  8000ec20 8006ebe8 8000f838 80010718 800136f0 80017b8c 80017d4c 800197e4
[    2.969244] 4094  80214840 8001ad8c 8001e098 8001fc58 8001cd88 8001851c 00000000 00000000
[    2.977863] 40b4  00000000 00000000 800240bc 800240bc 00000001 72646e61 6264696f 2e746f6f
[    2.986480] 40d4  64726168 65726177 72656200 006e696c 746f6f72 65642f00 61722f76 6100306d
[    2.995099]
[    2.995102] R5: 0x80024028:
[    2.999531] 4028  80020de4 80020f88 80020fe4 80021024 800212c4 80022658 800226c4 80022914
[    3.008151] 4048  80022b30 80022ce4 80022e14 80022ef0 80023048 80023138 800231fc 8000bf80
[    3.016768] 4068  8003a024 8000e530 8000e650 8000ec20 8006ebe8 8000f838 80010718 800136f0
[    3.025386] 4088  80017b8c 80017d4c 800197e4 80214840 8001ad8c 8001e098 8001fc58 8001cd88
[    3.034003] 40a8  8001851c 00000000 00000000 00000000 00000000 800240bc 800240bc 00000001
[    3.042619] 40c8  72646e61 6264696f 2e746f6f 64726168 65726177 72656200 006e696c 746f6f72
[    3.051239] 40e8  65642f00 61722f76 6100306d 6f72646e 6f626469 632e746f 6f736e6f 7400656c
[    3.059857] 4108  30537974 6e6f6300 656c6f73 79747400 312c3053 30323531 6e690030 2f007469
[    3.068475]
[    3.068477] R6: 0x8000e5d0:
[    3.072907] e5d0  e59f1068 e2852028 e59f4068 eb07d587 e2846028 e5850028 ea00000a e5147008
[    3.081527] e5f0  e59f0054 e1a01007 eb0e6960 e5143004 e3a01000 e5950028 e38726f9 e58d3000
[    3.090145] e610  e1a03001 eb07c8a5 e2844008 e1540006 1afffff1 e3a00000 e24bd01c e89da8f0
[    3.098763] e630  84a3c4b0 84a3e4a8 8043883e 804a36f4 8043880b 80438810 803ada5c 80438832
[    3.107380] e650  e1a0c00d e92dd800 e24cb004 e59f0004 eb07d6b4 e89da800 804a3790 e1a0c00d
[    3.116000] e670  e92dd8f0 e24cb004 e24dd008 e3a006f6 e3a01002 e59f2294 eb0366b5 e2505000
[    3.124617] e690  ba000022 e59f6288 e3a07000 e59f4284 e2865024 e1a01005 e284000c eb03656c
[    3.133237] e6b0  e284000c e3a016f6 e3a02001 e5845034 e5847030 eb0365ae e2505000 1a000017
[    3.141856]
[    3.141859] R8: 0x84a47ec0:
[    3.146288] 7ec0  20202020 30322e32 31393136 6c42205d 6f746575 3a68746f 454e4220 45282050
[    3.154906] 7ee0  72656874 2074656e 6c756d45 6f697461 7620296e 31207265 3c0a332e 205b3e36
[    3.163526] 7f00  32202020 3131322e 5d323936 756c4220 6f6f7465 203a6874 50454e42 6c696620
[    3.172143] 7f20  73726574 7270203a 636f746f 6d206c6f 804c1ffc 00000000 00000003 00000003
[    3.180754] 7f40  00000003 00000003 00000000 00000000 00000000 00000000 00000000 00000000
[    3.189371] 7f60  00000000 00000203 00000000 00000000 00000000 00000000 00000000 00000000
[    3.197989] 7f80  00000000 00000081 00000000 00000000 00000000 00000000 00000000 00000000
[    3.206605] 7fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.215226] Process swapper (pid: 1, stack limit = 0xa7c34300)
[    3.221256] Stack: (0xa7c35f80 to 0xa7c36000)
[    3.225767] 5f80: a7c35f9c a7c35f90 8000e664 80204144 a7c35fcc a7c35fa0 8002b6c8 8000e65c
[    3.234223] 5fa0: a7c35fcc a7c35fb0 800a88ec 800a5234 80024074 800240a8 84a47f3c 00000004
[    3.242679] 5fc0: a7c35ff4 a7c35fd0 80008bac 8002b66c 00000000 00000000 80008a3c 800726b8
[    3.251134] 5fe0: 00000013 00000000 00000000 a7c35ff8 800726b8 80008a48 ffffffff ffffffff
[    3.259583] Backtrace:
[    3.262148] [<80204138>] (platform_driver_register+0x0/0x60) from [<8000e664>] (pxa3xx_nand_init+0x14/0x1c)
[    3.272227] [<8000e650>] (pxa3xx_nand_init+0x0/0x1c) from [<8002b6c8>] (do_one_initcall+0x68/0x1b4)
[    3.281580] [<8002b660>] (do_one_initcall+0x0/0x1b4) from [<80008bac>] (kernel_init+0x170/0x23c)
[    3.287524] scsi 0:0:0:0: Direct-Access     General  USB Flash Disk   0    PQ: 0 ANSI: 2
[    3.290170] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    3.291196] sd 0:0:0:0: [sda] 985088 512-byte logical blocks: (504 MB/481 MiB)
[    3.291684] sd 0:0:0:0: [sda] Write Protect is off
[    3.291698] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[    3.291707] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    3.328392]  r7:00000004 r6:84a47f3c r5:800240a8 r4:80024074
[    3.334330] [<80008a3c>] (kernel_init+0x0/0x23c) from [<800726b8>] (do_exit+0x0/0x644)
[    3.342511]  r8:00000000 r7:00000013 r6:800726b8 r5:80008a3c r4:00000000
[    3.349335] r3:00000000
[    3.352085] Code: e5900030 ebff6e46 e89da800 e1a0c00d (e92dddf0)
[    3.358433] ---[ end trace 0e9547f224a2bd8c ]---
[    3.363221] Kernel panic - not syncing: Attempted to kill init!
[    3.369356] CPU0: stopping
[    3.369363] Backtrace:
[    3.369398] [<800303ac>] (dump_backtrace+0x0/0x10c) from [<803a8a90>] (dump_stack+0x18/0x1c)
[    3.369409]  r6:00000000 r5:00000010 r4:85007040 r3:00000000
[    3.369439] [<803a8a78>] (dump_stack+0x0/0x1c) from [<8002b398>] (do_IPI+0xd0/0x144)
[    3.369455] [<8002b2c8>] (do_IPI+0x0/0x144) from [<8002bd48>] (__irq_svc+0x48/0xe0)
[    3.369466] Exception stack(0xa3247e00 to 0xa3247e48)
[    3.369480] 7e00: 00000001 8049e1a0 00000001 00000001 a3246000 00000001 8049e1a0 8049e1a0
[    3.369495] 7e20: 00000000 00000000 84a3b810 a3247e6c 60000013 a3247e48 8010fe1c 803ac1e8
[    3.369506] 7e40: 20000013 ffffffff
[    3.369525] [<803ac104>] (_lock_kernel+0x0/0x148) from [<8010fe1c>] (__blkdev_get+0x2c/0x334)
[    3.369535]  r8:00000001 r7:a7822220 r6:00000001 r5:a7c2d860 r4:a7822220
[    3.369553] r3:00000005
[    3.369565] [<8010fdf0>] (__blkdev_get+0x0/0x334) from [<80110138>] (blkdev_get+0x14/0x18)
[    3.369583] [<80110124>] (blkdev_get+0x0/0x18) from [<8012d6b0>] (register_disk+0xe0/0x15c)
[    3.369607] [<8012d5d0>] (register_disk+0x0/0x15c) from [<801d4d34>] (add_disk+0xe0/0x128)
[    3.369616]  r7:a7c2d0c0 r6:00000000 r5:a3234000 r4:a7c2d800
[    3.369644] [<801d4c54>] (add_disk+0x0/0x128) from [<8021ca58>] (sd_probe_async+0xe8/0x1c0)
[    3.369654]  r6:a7c2d000 r5:a7c2d800 r4:a7c10b00
[    3.369678] [<8021c970>] (sd_probe_async+0x0/0x1c0) from [<8008d060>] (async_thread+0x134/0x344)
[    3.369688]  r8:804a5eb0 r7:a3246000 r6:804a5ea0 r5:84a488ec r4:a74fe8c0
[    3.369717] [<8008cf2c>] (async_thread+0x0/0x344) from [<80085dfc>] (kthread+0x88/0x90)
[    3.369733] [<80085d74>] (kthread+0x0/0x90) from [<800726b8>] (do_exit+0x0/0x644)
[    3.369742]  r7:00000013 r6:800726b8 r5:80085d74 r4:a7c8bf28

ColtB45
Android 1.0
Posts: 3
Joined: Sat Aug 23, 2014 1:03 pm

Re: Replacing U Boot Kernel

Post by ColtB45 » Sat Aug 23, 2014 10:04 pm

Alright, I've solved this.

1. I striping off the headers, RSA bits, etc. from the GTV hacker recovery image for the ASUS Cube leaving just the last 21719376 bytes.
2. I dropped it on a flash drive and booted it from U boot with:

Code: Select all

usb start; fatload usb 0:1 0x01308000 rec2.bin 21719376; go 0x01308000
It was never able to initialize the screen because DirectFB was crashing but it was able to provide a functional root shell via uart.
3. Via serial console I flashed the system with the backup I created before hand, although I'm sure it could be extracted from a update if needed.

Code: Select all

cd /sdcard/
cp flash_erase /tmp
cp nandwrite /tmp
chmod 755 /tmp/flash_erase
chmod 755 /tmp/nandwrite
cd /tmp
./flash_erase /dev/mtd/mtd8 0 0
./nandwrite -p /dev/mtd/mtd8 /sdcard/ORIGkernel.bin
I hope this is helpful to anyone else in this situation.

Post Reply
 

 

cron

Login  •  Register