Jump to content

Igor

Administrators
  • Posts

    13658
  • Joined

  • Last visited

Posts posted by Igor

  1. I think the problem is kernel loading address. Check this (working) boot script:

    setenv bootargs root=/dev/mmcblk0p1 rootfstype=ext4 rootwait console=tty1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 rd.dm=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi ahci_imx.hotplug=1 consoleblank=0 vt.global_cursor_default=0 quiet
    ext2load mmc 0 0x18000000 /boot/dtb/${fdt_file}
    ext2load mmc 0 0x12000000 /boot/zImage
    bootz 0x12000000 - 0x18000000
    

    Forget about converting. I think it needs to be zImage.

  2. And remember to add this boot script:

     

    /boot/boot.cmd

    setenv bootargs root=/dev/mmcblk0p1 rootfstype=ext4 rootwait console=tty1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=3
    2 ahci_imx.hotplug=1 quiet
    ext2load mmc 0 0x18000000 /boot/dtb/imx6q-udoo.dtb
    ext2load mmc 0 0x12000000 /boot/zImage
    bootz 0x12000000 - 0x18000000
    

    And convert it to the uboot format:

    mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
    

    And of course adjust according to your conditions. This is for one partition SD card. If you have first FAT than some extra work is needed.

  3. No. Everything is prepared until:

     

    "Get driver source & type make ARCH=arm

     

    From there you are on your own. I can guarantee that the driver will work. Install part is also on your own / from the driver if exits.

     

    P.S.

    But there is a driver already on the system:

    rt2500usb  rt2800lib  rt2800usb  rt2x00lib  rt2x00usb

  4. The  reason why I want to use 5 GHZ network  is because the 2,4 GHZ is over crowded in my location. Nobody is using  5 GHZ.

     

    I am having a similar situation but failed to find appropriate / cheap 5Ghz AP. I own three dual band wifi devices (2 x mPCI 1 x USB) and this one is the only one that it (almost?) work. Others, Atheros 9382 doesn't work at all and Intel 7260AC simply does not support AP in 5Ghz. 

     

    You'll need to ask driver maintainer for additional help & tips:

    https://github.com/gnab/rtl8812au/issues

  5. That sounds great. BTW: Testing with 4.2-rc3 I always ended up relinking /boot/zImage manually (no idea why).

     

    BTW: The sunxi-mmc patch seems to work so I would propose an immediate inclusion: http://www.bananapi.com/index.php/forum/general-discussion-for-bpi-m2/995-working-wifi-on-modern-kernels-4-1-tested?start=30#3038

     

    No idea either :( . I'll take a look. I am fixing the whole build structure. BTW: apt-get update works now :rolleyes: . Need some more testing to make sure.

     

    sunx-mmc patch caused an build error on 4.1.3 .. huh

  6. It's much simpler and faster to add this functionality than teach you step by step how to do it ... even if it's written clearly enough for average Linux user. But problems might occur and this bring more questions.

     

    Read forum / FAQ and you'll get much needed info. It's simple but you need to invest some time.

     

    Download this image and burn to SD (wait until it's uploaded)

    http://mirror.igorpecovnik.com/Bananapi_Debian_3.3_wheezy_4.1.3.zip

     

    I added support for Philips SAA7111/3/4/5 video decoders

     

    You need to use my image for easy update. For rest read FAQ. Some manual work is needed. I never try to compile kernel on device because it's way to slow. I don't know if my tool works without any fixes but in any case you need to download a proper Linux source.

     

    And I hope you know limitations of kernels 3.4 vs 4.x ? BTW: most important things are documented on my blog, sunxi wiki, ...

  7. If you have serial console you can manually execute boot commands to boot any kernel. And if you upgrade / downgrade kernel it should not affect what you have installed on the system.

     

    If you can't boot is probably because of not proper U-boot. You always need to install that to. (I wrote FAQ to minimize such troubles).

  8. Also, am I compiling the kernel correctly?

     

    Short answer. No.

     

    You can compile on a image the driver if you have a source and required dependencies.

     

    If you manage to compile a driver the usual output is:

     

    something.ko

     

    than you load it with

     

    insmod something.ko

     

    if you got no error, try to insert a hardware and check what is kernel telling you with:

    dmesg 

     

    But you will probably need a whole source and build a kernel with all dependencies if this is not so. I recommend you to compile on some X86 machine otherwise you will compile whole day.

     

    The proper start would be here:

    https://github.com/igorpecovnik/lib

     

    Stick to latest stable kernel 4.1.3 but still you might run into troubles.

  9. Yes this is "normal" ... Debian Jessie related bug. I wasn't been able to nail it down yet.

     

    Workaround. Just wait until first boot is finished. You can normally login after first reboot.

     

    ps

    Wheezy and Ubuntu trusty doesn't have this issue.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines