Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Menu driven "multiboot"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Menu driven "multiboot"

    Provides a dynamic boot menu for booting Linux from SD card and Android/Linux from NAND with option to install/uninstall Linux.

    See https://plus.google.com/109451178006...ts/S23npTqk6Jb for demonstration pictures, files to flash on a MK802IV or similar device to try it, plus source if you want to compile or experiment.

    #2
    Originally posted by linuxium View Post
    Provides a dynamic boot menu for booting Linux from SD card and Android/Linux from NAND with option to install/uninstall Linux.

    See https://plus.google.com/109451178006...ts/S23npTqk6Jb for demonstration pictures, files to flash on a MK802IV or similar device to try it, plus source if you want to compile or experiment.
    Thank you!, Using your achievements very often.

    Comment


      #3
      Nice work..
      I always hoped.. for a 'bootmanager'

      'Now.. i'm hoping that lewy can at this to his Rom's making it easy for us.. to try..linux or xbmc-only'

      Cheers.. keep-up the good work

      Comment


        #4
        Re: Menu driven "multiboot"

        Tanks, good work!!!

        leolas.
        REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
        My devices:
        Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
        MK902 & MK902II(Sponsored by RKM)
        Beelink M8B & Beelink R89 (Sponsored by Beelink)
        Tronsmart VEGA S89H (Sponsored by
        Gearbest.com)
        MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
        Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
        Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

        Comment


          #5
          wifi not enabled for my device...

          I gave this a spin and have everything working except wifi.

          MK802IV with serial number 201308nnn

          wifi works on Android NAND

          upgraded to the latest firmware from rikomagic

          Used each of the .img files from the multiboot image, flashed them with the tool included in the 7z.

          Using the rfs image from: http://www.freaktab.com/showthread.p...K802IV-or-T428

          tried ubuntu and lubuntu with the same results...(as expected w/ same kernel)

          uname -a
          Linux LINUXIUMONE 3.0.36+ #1 SMP PREEMPT Sat Nov 2 23:44:28 EST 2013 armv7l arm7l armv7l GNU/Linux

          ifconfig: just lo interface shows.
          ifconfig -a shows lo, ip6tnl0, sit0

          iwconfig: lo, sit0, ip7tnl0 no wireless extensions

          lsmod: ...wlan 539873 (size) used by 1

          dmesg:
          ...
          Rockchip WiFi SYS interface (V1.00)....
          ...
          RKWIFI WiFi driver (Powered by Rockchip, Ver 4.53.WFD) init.
          ANDROID-ERROR) wifi_set_power = 1
          rk29sdk_wifi_power = 1
          wifi turn on power
          ANDROID-ERROR) wifi_set_carddetect = 1
          rk29sdk_wifi_set_carddetect:1
          ...
          wl_create_event_handler thr:56 created
          wl_create_event_handler thr:56 started
          Unable to handle kernel NULL pointer dereference at virtual address 00000000
          Internal error: Oops: 817 [#1] PREEMPT SMP
          ...

          Tried depmod -a, no change.

          Assuming there's something easy I missed (should be using a different kernel, or rfs etc.)

          Thanks!

          Comment


            #6
            forgot to add from dmesg...

            dmesg also displays:
            NVRAM_PATH = /system/etc/firmware/nvram_AP6210.txt

            Comment


              #7
              Confirmed AP6210 chip

              OK, I opened my case and confirmed that the chip is indeed an AP6210. The question is, why when I boot ubuntu (or lubuntu), no wireless device is detected .

              The second question is, if there's no fix for this, is there another workaround, such s using a USB ethernet adaptor?

              Thanks,
              pb

              Comment


                #8
                got wifi working by flashing a different kernel and recovery...

                OK, got it working by wiping the kernel and recovery, and flashing the following:

                kernel-mk802iv.img
                linuxium-recovery-fb-fix-4-chromium-drm-hdmi-1080-boot-mk802iv-multiboot.img

                These appear to be different files than what is in the multiboot g+ post:


                wlan0 was present this time, iwconfig could scan and see my router, but initiating a manual wpa_supplicant process with my essid failed with all kinds of obscure errors. After a lot of experimentation - it turned out I wasn't giving ifup enough time to initialize the device.

                I'm now runnning sudo apt-get update...looks like I'm getting 14kb down, we'll see how it goes .

                Comment


                  #9
                  Originally posted by linuxium View Post
                  Provides a dynamic boot menu for booting Linux from SD card and Android/Linux from NAND with option to install/uninstall Linux.

                  See https://plus.google.com/109451178006...ts/S23npTqk6Jb for demonstration pictures, files to flash on a MK802IV or similar device to try it, plus source if you want to compile or experiment.
                  I changed the script a bit and parameter to the file works fine.
                  2Gb userdata, 2.3Gb user, 2.6Gb linux.
                  Code:
                  mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(boot),0x00008000@0x0000C000(kernel),0x00010000@0x00014000(recovery),0x00010000@0x00024000(backup),0x00040000@0x00034000(cache),0x00400000@0x00074000(userdata),0x00002000@0x00474000(kpanic),0x00180000@0x00476000(system),0x00475000@0x005F6000(user),-@0x00A6B000(linux)
                  easy to edit paraneter:
                  1. Windows 7,8,8.1 calc.exe View \ Programmer
                  2. Example 0x00180000@0x00476000(system)
                  00180000 Hexadecimal translate into decimal 1572864
                  1572864*512=805306368/1024=786432Kb/1024=768Mb
                  768Mb*1024=786432Kb*1024=805306368/512=1572864 Decimal translate into hexadecimal 180000
                  3. To 00476000 Hex offset + 180000 Hex size = get the offset of the next section 5F6000,
                  as you can see right 0x005F6000(user)
                  Last edited by vmkogeretla; 11-11-2013, 23:51.

                  Comment


                    #10
                    Superceeded (so closed)

                    Please see Linuxium's Bootloader software for RK3188 devices

                    Comment

                    Working...
                    X