Jump to content

Decker

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Decker

  1. Hi, 3 flashing led diodes of my Banana Pi make good party atmosphere when I want to sleep. what are ways to disable led diodes on Banana Pi? Is there a way to disable them without recompiling kernel? Can it be done by editing script file in /boot? What exactly do I need to change to switch them off? Thank you very much!
  2. Hi tkaiser, thank you for answer and explanation with wifi. I have already looked at commits before I posted this question. I saw what was changed so I suspected merge, but because there is no mention that "bananapipro" option in script is (and will be) for M1, M1+ and Pro, I was afraid that development was ended for M1 board and only PRO will be supported in the future. That is why I asked. Maybe change line 178 of configuration.sh to something like #description (M1, M1+, Pro) A20 dual core 1Gb SoC So no one gets confused.
  3. Hi, When I start armbian script, there is no Banana Pi M1 model anymore. Was Banana Pi M1 merged with Banana Pi Pro model? I could not find any note or info about this change anywhere. Thank you!
  4. Loaded sunxi module (modprobe sunxi), lsmod shows it, but OTG is still not powered. EDIT: Just installed 3.4 kernel and after script.bin modification OTG works OK. So it is not HW problem.
  5. My luck is bad here Igor. port still dead. To be sure I have compiled whole own kernel too. First time with "host", second time with "otg" option in sun7i-a20-bananapi.dts (I have deleted source dir before second attempt). Nothing changes. (I have installed both new kernel and dtb .deb files) I do not know where I could make a mistake. Chrrrm. Maybe port is broken physically. I will just wait to next release and will see what is up.
  6. I have downloaded http://mirror.igorpecovnik.com/test/Armbian_5.00_Bananapi_Debian_jessie_4.4.0-rc5.zip and tried OTG, as I though that it´s support was added in kernel 4.3, but it is not wokring. Is there a way to enable it? I am missing this feature, yet I do not want to go back to legacy kernel. I tried various usb peripherals and hubs, but OTG port is not powered. Thank you.
  7. Yes, I see now. Sorry for posting this, I have downloaded zip from http://www.armbian.com/banana-pi/so I have could not see the warning on www.armbian.com Thank you for the answer. (And lot of new work, one can see it everywhere! )
  8. I had working Banana Pi -> I compiled latest kernel (all config were default) and installed it -> Banana Pi did not boot, it was stucked on "Raising network interfaces" -> I downloaded latest image (Debian Jessie) and flashed it on SD card -> Banana Pi still stucked on "Raising network interfaces". Banana Pi is connected via normal cable directly to the router with DHCP. I have also tested cable and router and tried to use different cable. I have not changed anything else.
  9. Hi, In kernel 4.1, we have dmesg spammed by: [84320.834217] clocksource hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 238907555784 ns It should disappear in 4.2. If you need to repair it now, you can patch it yourself: http://permalink.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/17500 D.
  10. You are definitely right about extensive/expensive quality ensurance and selection process does not happen, but 2.0GHz@0.1V... man... that does not happen too... If voltage control would work, there would be some value where board would not run. Not even blessed board can work without voltage... And I can set voltage to whatever I want, it is still the same.
  11. Hey kids, it is me, again! So, this time I found out (well, you maybe knew it before and I am dumbing around again) that voltage control does not work on Banana Pi (at least) mainline kernel. Well, if I am supposed to change it in linux-mainline/arch/arm/boot/dts/sun7i-a20.dtsi. I tried to reach 1248000kHz, which is, of course, unstable. So I was adding and adding voltage, until I was too afraid to continue (1650000mV ). But BananaPi was unstable the same way (freez after few minutes of FTP transfer), no more (bad charger) or no less (would still need more voltage). So after few hours of re-compiling source and listening wonderful music I tried this: 1248000(kHz)@800000(mV), which is big overclock and 100000(mV) less than default voltage for lowest available frequency (144000kHz). But again, few minutes of FTP was possible. That should not be possible with 1248000(kHz)@800000(mV) [default max is 960000(kHz)@1400000(mV)]. I do not think that this would be able to boot to X. Maybe I need to enable changing voltage somewhere, maybe it is not possible, I do not know. I only know that I am compiling/installing this the right way, because changed frequency in source file appears in scaling_available_freq later in running kernel. I am sure that changing this voltage value does not have any effect. Maybe I need to change some other value to enable voltage customization?
  12. Well, interesting. Any way or link to "how to enable OTG in mainline"? I have not found anything useful (for OTG) in /arch/arm/boot/dts/. I enabled needed things (later also not needed things to be sure) in .config, but that is not enough. Maybe I will find something helpful in that pdf.
  13. Haha, I am using "CUSTOM_KERNEL_CONFIG" for a while now in my edited script, but it need more testing and I need to add comments before making pull request... Simply, my script does not load default .config when CUSTOM_KERNEL_CONFIG is set to "yes" AND .config exist in kernel directory. It does not have the ability to change path to .config.
  14. http://cateee.net/lkddb/web-lkddb/INPUT_EVBUG.html CONFIG_INPUT_EVBUG (Event debugging) Location: │ │ -> Device Drivers │ │ -> Input device support │ │ -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y]) I do not think we need it.
  15. Well, today I was somehow unlucky with building, even with my method mentioned here before. I even tried to reinstall whole host´s Ubuntu in Czech language, later in English (everything, locales, keyboards, time, etc...), but I was still unsuccessful in building working Jessie OR Wheezy (kernel 4.0.5) image. I have not found why. Languages seemed right, no errors reported in console. But image seemed "read only". Maybe script creates damaged images? But no error was in the console during shrinking. Size in compile.sh was 2500MB... I dont know. I did not do anything special, all was default (except sd-size). Maybe I "solved" one bug, but there is another one... Sometime exported image ended up in kernel panic after u-boot. I spend many hours trying, purging and trying again, but did not find anything. I am working on some changes to your script, but I need to test them before I prepare a pull request and... I am not sure if I will be able to repair this "language bug" by the proper way... I will probably not even try since I think there are 2 bugs and I cannot solve the other one (so I cannot test my work before the pull request) :-/ For now I am using Igor's image of sdcard with my own kernel (created with compile.sh), that works OK.
  16. Thanks Igor for that link. Now it is clear to me. remset, thank you too. I would correct your adwise to: KERNEL_ONLY="yes" and KERNEL_CONFIGURE="yes" //re-enable complete USB stuff , as modules , INCLUDE OTG I am working on re-enabling OTG in mainline, I am not done so I am not sure, but I think you also need to enable OTG in script.bin, right?
  17. We should fix/patch this in next releases. The same problem as here years ago: http://ubuntuforums.org/showthread.php?t=1162100 Jessie, -next kernel.
  18. Hi, just a quick question: Why is OTG disabled? I read some "performance issues" or "high CPU usage by OTG" etc... But can someone be more specific?
  19. Hi Igor, today I run more building. I used compile.sh from your link (next/readme.md) and changed SDSIZE="2500" and BUILD_DESKTOP="yes". Again with Jessie and next (4.0.5) kernel. Also, I purged Kubuntu 15.10 (f-ing animations everywhere! ) and installed my favourite Xubuntu (15.10) on building machine. During installation of Xubuntu on building machine I chose Czech language again. 1. try: this time there were not 3 errors regarding to language things but 5. Apparently there was something (regarding to languages) not configured and something was OK but probably not supported by running program. Image failed to boot ending in a kernel panic. Here is a photo: http://www.imagehosting.cz/images/p1270670.jpg 2. try: I exported these things: export LANG="en_US.UTF-8" export LC_NUMERIC=en_US.UTF-8 export LC_COLLATE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 export LANGUAGE="en" Original content was: LANGUAGE = "cs", LC_ALL = (unset), LC_COLLATE = "C", LC_NUMERIC = "C", LANG = "cs_CZ.UTF-8" Imaged booted with XFCE successfully. Well, missing that "HW acceleration" I would say . But hint for others: Select "use compositor" in "windows tweak manager" (and do not select any animations or effects). It will feel faster, since it does "think" in layers and does not redraw things again and again (this could go to FAQ ) Script needs fixed language setting, all other works OK. Awesome script!
  20. Did you try to boot it? Were you sucessful? Enlarge default SD size a little bit - Hrmmm... How/Where? :-) in SDSIZE="1500" in compile.sh leave 4.0.5 - Did not touch this in second try, 3.19.7 was used automaticaly by your script. It is defined in Documentation (KERNELTAG="v3.19.7"). That is why I used it, did not wanted to change anything after my first failed attempt. Maybe we should change this to 4.0.5 in Documentation? Or make the script use latest stable kernel? EDIT: there is Readme.md, where 4.0.5 is set and there is CONSOLE_CHAR="UTF-8" (in Documentation is not CONSOLE_CHAR="UTF-8" defined). We should merge these two compile.sh sources to one. leave default language - in compile.sh I left "DEST_LANG="en_US.UTF-8", but it was built in Ubuntu with Czech language (so host/building pc uses czech language). Could that be a problem? If yes, we should mention this in Documentation. (And I think it is, host PC does not have "EXPORTed" some locales parameters (this is default). Some time ago I had to EXPORT some (unset) locales to make unixbench running (it was debian machine). I will check this next time. choose Wheezy / Trusty - But I am in love with Jessie! (OK, I just need few newer packages and using Jessie is the easy way to have them...) I know
  21. Ubuntu x64, Bananapi jesie with -next kernel. First try yesterday: everything default, changed only BUILD_DESKTOP to yes image was built with 4.1-rc8 kernel / version of image was 3.1 few errors at the end (perl did not like some locales that were not set and probably some error with resizefs, partial log attached) Image was not bootable, banana did not show anything, behavior was the same as banana without inserted card Second try today: deleted /output/output/* deleted compile.sh and created new one with latest content image was built with 3.19.7 kernel (why that downgrade?), version of image was 3.2 banana boots but cannot remount filesystems. That leads to rebooting itself permanently (trying to resize partition again and again.) screenshot attached Am I doing something wrong? echo.txt
  22. Well, you are fast guys. Thank you very much for enlightening me! Very interesting, thank you. Yep, I thought that. Again, thank you for info. Yes, you are right. It should be pointed out often, but I think that it won't help, since people will save family photos on F2FS on RAID 0 via crappy SATA multiplier and because network transfers will be slow they will overclock with the vision of better speeds. And because "in worst case it will just freeze", they dont care about warnings. And later something will go wrong and they will lose all family photos (joking, but lets say "some backups"), because it will not be possible to recover them. It is fight with wind mills. I think that everyone has to learn the hard way. I would not even expect this, very interesting! I will re-check myself later. It is possible that I made mistake last night, maybe I did not check if frequencies were changed, I do not remember, I was very tired. :-/ Thank you again for your time. All questions answered and I am smarter again.
  23. Thank you for your answer. Since I bought Banana to learn some Linux and hardware shit, "do not do it" (as your post suggests) would be a wrong way. I have it mainly to explore things that I did not meet in x86 platform. So please do not make this topic only "do not do it" but "how to do it, with "do not do it" at the end". Most of us are here to learn. Please, elaborate on that 48MHz freq. I know where you put freq. of course, but these steps are somehow specific to arm. I would like to know WHY you do 48MHz steps. Why not 64? 32? 36? I think there will be some hardware thing, timer or something working in 48MHz so you can do only 48MHz steps or CPU can become unstable. In Bananian with kernel 3,4 (that means "NOT from Igor") I could change freq as I wanted and I did not respected 48MHz steps and it worked. But I am not sure if things were not slower... I do not want to know how to manage voltage only for raising it, I want to lower it too. I know danger of both. As kid has to fall on face to learn that using the front brake on a bicycle is not smart in high speed, burned banana pi is the best way to learn what you can, should or should not touch. With RAM - thanks for the link, already read it. But it is good for others. I did not write that I am going to OC memory, again, I am here to learn and if I will change it, I will test it. And who told that I am not going to default after that? I want to learn how RAM speed on ARM effects on overall performance. Of course, I am not speaking only about freq. Does anyone have answers for 2) and 3)?
  24. 1) second after posting I found out that in /boot/script.bin of 4.0.5 jessie build is this: [dvfs_table] max_freq = 912000000 min_freq = 720000000 LV_count = 7 LV1_freq = 1008000000 LV1_volt = 1450 LV2_freq = 912000000 LV2_volt = 1425 LV3_freq = 864000000 LV3_volt = 1350 LV4_freq = 720000000 LV4_volt = 1250 LV5_freq = 528000000 LV5_volt = 1150 LV6_freq = 312000000 LV6_volt = 1100 LV7_freq = 144000000 LV7_volt = 1050 As I said I am running 4.0.5. I do not have these speeds avaiable in 4.0.5. Do I understand correctly that with this I can manualy set voltage in 3.4 kernels?
  25. Hi, I was looking for ways how to speed up CPU for faster ethernet transfers and speed it down when idle. I would also like to control voltage. I know that in mainline kernel you can edit this file arch/arm/boot/dts/sun7i-a20.dtsi and configure it yourself. 1)I would like to know where (if) you can control voltage somewhere for 3.4 kernel. I was unable to found any info. 2) in /boot/script.bin i found out parameter "dram_clk", I assume that you can change freq of RAM here. Somewhere I read (I think form tkaiser) that you can add 48MHz steps to CPU/memory. Why exactly 48MHz? That is very interesting for me. Some clock source/timer works in 48 MHz? 3)Two things little bit OT, I am sorry: what is status of analog sound in mainline kernel? (I expect response like "never" or "do it yourself" , but maybe someone started already.) Do igor's image use some kind of bananian-config or something like that?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines