Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

1652 profile views
  1. I bought a "Vontar T9" on aliexpress. It says : Rockchip Quad-Core 64bit Cortex-A53. I got the 64G/4G one, which I though would really rock;) I burned Armbian_5.98_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20191923.img to an SD. I copied the rk3328-T9.dtb file from hexdump to the /dtb/rockchip directory. I changed extlinux/extlinux.conf to use the rk3328-T9.dtb. I insert the sd card and power the box, and then …… Nothing happens. not even a single message on my screen. Did I do Something wrong or is my "vontar T9" not an RK3328?
  2. I tried installing the sunvell firmware on orange pi plus 2e. I installs fine, boots up and works, ..... but no ethernet nor wifi, so no internet (guess different drivers )
  3. Christos, Here's a link to an old post, which explains howto address the GPIO directly. There's an example for reading the onboard switch, but you can use it for any gpio port. http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=940&extra=page%3D3 I found a usefull script on http://docs.cubieboard.org/tutorials/common/gpio_on_lubuntu I did consult the Allwinner H3 datasheet. On page 316 you'll find the exact offsets for each port : PL_DAT 0x24+0x10 For example port A : PAxx the offset = 0x10 *(unsigned int *)(ptr+0x10) = data; (adapt cubieboard example) This way you can read and write ports that are not listed in wiringOP Port L is something special because it starts at a different address (page 345) port L 0x01F02C00 In order to read to onboard switch PL03, you have to switch the bits in the controlregister for this port to 0 (=input) (script write_controller_register) Then you can read out the port using the script (read_test_switch) compile : gcc script.c -o readswitch
  4. I did test the script (only h3consumption -p). Seems to work OK on a 2E. If you could see the actual total wattage (eg current consumption is 2W), that would be a handy feature. (I know I could add up everything )
  5. I received mine today, some sticker with european regulation articles 25 and 26 attached to it... but I did not have to pay any extra money, which is ....... pretty cool! Thank you for the tip! (I'll put it to some good use and won't mind the magic smoke )
  6. In case someone would like to try music-stuff : I had no luck using the standard orangepiplus2e sound. I had good results with a 80cents(!) usbsoundcard, but really excellent results using the PCM5102 board. get "jackd" to work (jack is like an electronic patch board) : this is what worked for me (it took me some time to figure this out ) jackd -d alsa -dhw:1 -P (do not launch as root, but as the default armbian user) (hw:1 = card 1 -- this might be different for you) install qjackctl (connect readable clients to writable clients) orangepi@orangepiplus2e:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: snddaudio [snddaudio], device 0: SUNXI-TDM0 snddaudio-0 [] Subdevices: 0/1 Subdevice #0: subdevice #0 card 2: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 orangepi@orangepiplus2e:/etc$ more asound.conf pcm.!default { type hw card 1 } ctl.!default { type hw card 1 }
  7. Thank you for the tutorial. I bought a cheap PCM5102 board (7 euro shipment included!) http://www.aliexpress.com/item/PCM5102-DAC-Decoder-I2S-Player-Assembled-Board-32Bit-384K-Beyond-ES9023-PCM1794-compatible-Raspberry-Pi/32678406932.html I can now use my orange pi as a synthesizer (zynaddsubfx) without any glitches! (external midi keyboard!) Even LMMS now works and sounds like a breeze. The standard setup of "jackd" did not work. I start jackd manually, and afterwards qjackctl.
  8. snowbody


    OK, I reinstalled it on the 2E. (apt-get install) qt4-qmake qt4-default libqt4-designer qtcreator libqtcore4 (I'm not really sure about this one) in qtcreator/options/build&run I defined under compilers -> "GCC"
  9. snowbody


    I developped an application on orange pi pc using qt. I installed qtcreator to begin with. Afterwards I had to install some additional packages. CLI compiling using qmake was possible. There's this thing about qt version 4 or 5... I'll install qt again on my 2E some time soon.
  10. I would like to thank the "armbian team" for all the effort! I tried the nand-sata-install script, but afterwards the 2E would not boot. (toggled a bootable flag, but that did not change a thing) Your "dd" method did the trick. After a reboot I checked the free space. (was smaller than hoped for, so I executed resize2fs /dev/mmcblk0p1 ...)
  11. The pwm pin is the middle pin of the serial debug port (3 pins near power connector) You can control this pin by writing directly to the control/data register. http://linux-sunxi.org/H3#Documentation (datasheet V1.1) (p 317 H3 manual 011 PWM0 dataregister for port PA5) (P.188 the control register for PWM is at 0x01C21400) I wrote a script to blink a LED using this technique. It could easily be used to control a motor. (you will need to program some sort of integrating algorithm which sets the controlregister according to the temperature : probably exists already ) I tried the pwm on the 5V fan which fits the orangepi enclosure: there is a underlimit (the motor will not start). Booting the orangepi with the middle pin attached to a mosfet, could stall the bootprocess. (in that case try to disable [uart0])
  • Create New...