Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Linux on Q7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Linux on Q7

    Hi,
    To get Linux (partly) running on the Q7 with the root file system on a SD Card, you can do the following. Be aware that this method is mostly of little use since a number of things are not working as the kernel in use doesn't suppport this box completely.

    Here are the steps :-

    a) Download DNSounds Minix kernel stuff - https://www.dropbox.com/s/ozcmjgh08w...-Linux3188.rar

    b) Download DNSounds latest 30101 kernel - https://www.dropbox.com/s/8nmtnog2i7...SD%201080p.img

    c) Download RK3188Loader V2.10 or above

    d) Download you favourite armhf rfs (I used http://archlinuxarm.org/os/ArchLinux...-latest.tar.gz). Create a SD Card with ext4 fs using mkfs.ext4 -F -L linuxroot /dev/sdX, and extract the files from the rfs tarball to this partition

    e) unrar the file downloaded in step a)

    f) Use ROM_Flash_Tool_137 (part of file in setp a) to erase NAND(IDB)

    g) Then, use the ROM_Flash_Tool_137 from windows to flash the Q7 with the following selections :-

    i) Loader - RK3188 Loader v2.10
    ii) parameter - select parameter file from rar file
    iii) kernel - downloaded in step b)
    iv) boot - select boot.img from rar file

    g) The device should reboot and start in linux

    Not Working :-

    a) NAND Access
    b) Wifi
    c) Ethernet
    d) BT
    f) Sound
    e) .....

    Partly Working :-
    a) Teh display seems to be scaled smaller than a 1080 screen - looks ugly

    Working :-
    a) X windows using fbturbo drivers

    Seems usable performance wise - but can do with a better kernel.

    I've tried making a better kernel - but all my attempts with Omegamoon, thesawolf, Galland repos don't boot. I've been using the .config from DNSound's kernel - but no joy.

    Hope some Kernel Dev can create a better one that supports more hardware. I would welcome pointers to :-
    a) Kernel source git
    b) Toolchain (I'm using linaro)
    c) Changes / modifications to get the hardware working

    Once a kernel is available that enables access to the NAND - the rfs can also be moved to the NAND.

    Please help if you can.

    Thanks.

    #2
    Progress - working kernel

    Hi,
    I've got a 3.0.101 kernel working on the Q7. Files are here kernel and wlan.ko module for RTL8188EU.

    Most things work - those that don't are :-

    a) NAND access - I think the problem is with the new loader - but I've not been able to downgrade to 1.24 from 2.1
    b) ethernet
    c) Bluetooth - comes up - but not tested

    Can someone throw a light on why I get these errors ?

    Code:
    [    3.019422] NAND INFO DUMP....ZYF
    [    3.019453] AHB CLK: 148500
    [    3.019484] FMCTL: 0x300 ; FMWAIT: 0x1082
    [    3.019526] FLCTL: 0x100428 ; BCHCTL: 0x40000 ; MTRANS_CFG: 0x1d0
    [    3.019575] MTRANS_SADDR0: 0x0 ; MTRANS_SADDR1: 0x0
    [    3.019617] MTRANS_STAT: 0x0 ; RANDMZ_CFG: 0x4bf0
    [    3.019658] BCHST[0]: 0x400e007 
    [    3.019690] BCHST[1]: 0xe007 
    [    3.019726] BCHST[2]: 0xe007 
    [    3.021230] ddrfreq: change freq to 445 MHz when normal
    [    3.021268] BCHST[3]: 0x4002 
    [    3.021292] BCHST[4]: 0x0 
    [    3.021314] BCHST[5]: 0x0 
    [    3.021335] BCHST[6]: 0x0 
    [    3.021355] BCHST[7]: 0x0 
    [    3.021568] [<c065ec48>] (unwind_backtrace+0x0/0xe0) from [<bf009784>] (FlashReadErrorDump+0xb0/0xe4 
    [rk30xxnand_ko])
    [    3.021838] [<bf009784>] (FlashReadErrorDump+0xb0/0xe4 [rk30xxnand_ko]) from [<bf00af94>] (FlashReadEnhanced+0x25c/0x270 [rk30xxnand_ko])
    [    3.022105] [<bf00af94>] (FlashReadEnhanced+0x25c/0x270 [rk30xxnand_ko]) from [<bf00ec44>] (GetBadBlkTbl+0x144/0x468 [rk30xxnand_ko])
    [    3.022372] [<bf00ec44>] (GetBadBlkTbl+0x144/0x468 [rk30xxnand_ko]) from [<bf0163c4>] (FtlInit+0xb8/0x158 [rk30xxnand_ko])
    [    3.022624] [<bf0163c4>] (FtlInit+0xb8/0x158 [rk30xxnand_ko]) from [<bf0165f8>] (NandInit+0x194/0x330 [rk30xxnand_ko])
    [    3.022871] [<bf0165f8>] (NandInit+0x194/0x330 [rk30xxnand_ko]) from [<bf016804>] (rk29nand_probe+0x70/0x210 [rk30xxnand_ko])
    [    3.023039] [<bf016804>] (rk29nand_probe+0x70/0x210 [rk30xxnand_ko]) from [<c06545f4>] (do_one_initcall+0x90/0x160)
    [    3.023116] [<c06545f4>] (do_one_initcall+0x90/0x160) from [<c06bcba4>] (sys_init_module+0x16a4/0x182c)
    [    3.023183] [<c06bcba4>] (sys_init_module+0x16a4/0x182c) from [<c0659ac0>] (ret_fast_syscall+0x0/0x30)
    [    3.023376] FlashReadPage error!!,row = 24000
    [    3.023416] data:83 27 75 dc 1c c6 42 21 d9 c6 e8 8f 63 9e db 1f
    [    3.023458] spare:c4 61
    [    3.023627] FlashReadPage error!!,row = 24040
    [    3.023663] data:e0 47 9a b3 b1 54 8f 99 04 8d b2 6c 07 b1 b5 12
    [    3.023705] spare:99 1d
    [    3.032923] FTL INFO:Version = 438,Date = 20121229
    [    3.032943] LOADER FTL INFO:Version = 438
    [    3.032958] Need update Loader!!!gBootMedia = 1 gSdmmcFwPartOffset =0!

    Comment

    Working...
    X