Jump to content

Igor

Administrators
  • Posts

    13730
  • Joined

  • Last visited

Everything posted by Igor

  1. New kernel config: https://github.com/igorpecovnik/lib/blob/next/config/linux-sunxi-next.config CONFIG_DM_CRYPT=m This is enabled as module. I also don't know what exactly is needed without research and can only add blindly some new modules in this area but it will take some time before I rebuild a kernel. In such cases is better and faster if you try to build a kernel by your own. That's why I made a script When compiling remember to save the .config because it's overwritten on each run. Old kernel config: https://github.com/igorpecovnik/lib/blob/next/config/linux-sunxi.config Don't know. Simply try it and than we have at least something to compare to.
  2. Yes, I noticed few days ago ... I was doing some extensive config merging and it came inside by mistake. https://github.com/igorpecovnik/lib/commit/c14411ba60c9bfa0f7b28c70ab373c164f256212 Thanks. In the mean time you can use this kernel. Fixed and built yesterday. http://mirror.igorpecovnik.com/kernel/4.0.4-orangepi-next.tar
  3. Audio is not working yet. For kernel upgrading: https://github.com/igorpecovnik/lib/blob/next/documentation/general-faq.md#optional-steps-if-you-update-kernel-to-older-sd-image
  4. OK, let's work on it. I just installed it on my server ... Have to play / read a little more ...
  5. I took a quick look over Aptly ... It looks great but I think it might be an overkill for our needs? I'll have only few files per board and so far there is no diff between distribution. Any simpler solution ... or is this simple enough to anyway start work with?
  6. Oh, than I choose wrong configuration Anyway, you should be able to compile it yourself on the Cubie. Just follow original instructions or check my script here: https://github.com/igorpecovnik/lib/blob/next/common.sh#L272
  7. Then it looks like your NAND is completely empty Booting is depended from "boot footprint". Technical background and solution which needs to be implemented withing the script. Fix for this was developed recently and has not been tested / implemented yet so there is only one thing you can do: 1. Install Lubuntu to NAND (or just any factory image) with Phoenix tools, (do one test run just to make sure it boots from NAND, to exclude hardware error) 2. Boot from my SD image and repeat the whole NAND install procedure. You will not need to apply any extra commands. You hit the worst install case scenario
  8. 1. You found a bug . If NAND was not used before the script got stuck ... here is a workaround which will create two partitions on your NAND: (echo y;) | nand-part -f a20 /dev/nand 32768 'bootloader 32768' 'rootfs 0' Run the install script again and it should work fine. It will ask to reboot once, than you need to start the script again ... it will take several minutes for copying. 2. This is normal. If you don't have your system on NAND you can't boot without SD card. Do you want to boot from NAND and have system on DD? Than you need to boot from NAND and run this install script again to transfer it to DD. I know it's a bit stupid way but it works. SD -> NAND -> DD
  9. I had many troubles on the way to keep it clutter free & close to default Debian / Ubuntu way & knowing with their bugs too I am also looking forward to develop further and glue things together so that upgrade process could run fully automatic - if wanted.
  10. You are probably referring to this: http://lists.denx.de/pipermail/u-boot/2014-September/190239.html This is done in uboot so you need to experiment with this parameter: CONFIG_GMAC_TX_DELAY= (try with numbers from 1-10) File is here: u-boot-sources/configs/A20-OLinuXino-Lime2_defconfig I don't know for any better way than this: 1. compile - DD to SD card - reboot 2. test 3. change parameter and try again
  11. It looks like you are not using proper script.bin file? Where is your /boot/script.bin pointing to? It must be to the bananapro.bin script.bin -> /boot/bin/bananapipro.bin Just get the latest 3.4.107 and you will be fine. Get Wheezy if you don't want to find new problems.
  12. No scripts, only download, unpack and dpkg -i at this point. The deb files has some post-install logic but nothing major. I only distinguish new / old kernel which is somehow important because of different loading process. The rest is more or less not done yet. The idea is to push to repository and that new versions are updated the standard way like on any other distribution via apt-get update It would be nice to retest updating on some real demo repository. To find and fix possible bugs. ... then added a switch UPDATE_REPOSITORY="YES" + sub script to do all this I was talking with a friend about this but we haven't made any progress yet so my Github lib section is script wise more or less up to date. Appreciate your help and open for ideas.
  13. https://github.com/igorpecovnik/lib/blob/next/documentation/general-faq.md#how-to-install-to-nand-sata--usb If the install was successful you remove the card and it should boot from NAND. In minor cases you might need to fix boot record on NAND. Follow instructions under FAQ. You need to de-compile with: bin2fex script.bin script.fex You can edit the .fex file. Check this guide: http://linux-sunxi.org/Fex_Guide When you done. fex2bin script.fex script.bin Reboot.
  14. Yes, building is failing within kernel 4.x ... If you need this, stay on older version and wait for fix / update ... or help us fixing , ping USB redirector support,... I'll do that eventually but currently it's not under my urgent nor important tasks.
  15. It works interactive but not in non-interactive mode. Another Debian bug Working on walk-around.
  16. http://www.incentivespro.com/support.html Try talking to their support. It was compiling well up to 3.19.x with this adjustments. # patch to work with newer kernels sed -e "s/f_dentry/f_path.dentry/g" -i usbdcdev.c
  17. I finally get into this error Reset doesn't help. Power on/off and it boots o.k. Strange systemd / Jessie problem ?
  18. I'll add this to the script and to the FAQ. Thanks. A quick solution: export CHARMAP=UTF-8 FONTFACE=8x16 DEBIAN_FRONTEND=noninteractive dpkg-reconfigure console-setup This is working for me - my locales are en_US.UTF-8. I guess this must be matched? Now the mc looks ok, some functional keys works but that's another story since my keyboard has only F1-F8
  19. USB redirector fails to compile on 4.0.4 anyway, Debian Jessie is still problematic. If you want a full featured working system stick to Wheezy and kernel 3.4.107 p.s. I tested Jessie 4.0.4 installation many times and it works. I haven't try to first boot without a network but that shouldn't make any difference. Hardware wise there are two versions of Cubietruck A/B but that also should not affect on this level. No idea why it doesn't boot properly. Good power supply?
  20. Igor

    Image woes

    Most important part is missing - try to catch what's before that. If card content cannot be read u-boot seeks for network boot ... There is probably something wrong with the card or the writing process. But since I don't have CB2 I am not 100% sure. Cubietruck images are working and Cubieboard2 is almost the same. But strange errors are always possible
  21. more /etc/hostapd.conf ssid=cubietruck interface=wlan0 hw_mode=g channel=5 driver=nl80211 bridge=br0 logger_syslog=0 logger_syslog_level=0 wmm_enabled=1 ieee80211n=1 wpa=2 preamble=1 wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27 wpa_passphrase=12345678 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP auth_algs=1 macaddr_acl=0 noscan=1 #ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40] #country_code=SI #ieee80211d=1 Configuration for realtek: more /etc/hostapd.conf-rt interface=wlan0 ctrl_interface=/var/run/hostapd ssid=orangepi channel=5 noscan=1 wpa=2 wpa_passphrase=12345678 bridge=br0 wmm_enabled=1 driver=rtl871xdrv beacon_int=100 hw_mode=g ieee80211n=1 wme_enabled=1 ht_capab=[SHORT-GI-40][HT40+][HT40-][DSSS_CCK-40] wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP max_num_sta=8 wpa_group_rekey=86400
  22. This is strange. I downloaded Jessie from my download site, v3.8 with kernel 4.0.4. boots fine. You need to wait until it reboots. It is doing ssh key creation and apt-update so it takes some time, up to few minutes this applies only to Jessie: during this time you can't login. BTW: wireless AP mode works out of the box - you only need to use /etc/network/interfaces.hostapd and run hostapd /etc/hostapd.conf
  23. Check / add this: http://forum.armbian.com/index.php/topic/22-wlan-on-ct-not-working/?p=85 You can use the same module as on Cubietruck. Chips are almost identical, drivers too. Both shows some extra warning and errors but the work. Actually quite ok. On wheezy you need only to load module bcmdhd with op_mode=2 in: /etc/modules
  24. I have one experience with Wheezy under kernel 3.4.x running 7" LVDS display on Banana Pi in portrait mode. Booted with extra kernel parameter, I think it was just fbcon=rotate:1 The console booted in portrait and also LXDE was started properly, only the touch screen controller was still in normal mode ... I haven't even try to fix that since it was only a test boot. X is not my home. I think you need to do some extra configuration to bring up rotation on the fly. Try first with 3.4.x since on 4.x might not be working at all.
  25. There are many confusions which I am trying to merge. A lot has been done in this matter but still. If you are using Jessie and you want to establish AP you will need to create additional file in: /etc/modprobe.d nano local.conf options bcmdhd op_mode=2 And this is needed only on old 3.4 kernel This is how you check if your CT adapter is in proper mode - 0 is default: systool -m bcmdhd -v | grep op_mode
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines