Jump to content

cb88

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

1330 profile views
  1. Is it possible to change the baud rate of the i2c driver on twi0? It seems to be running slower than twi1 and twi2 at least probing that bus takes much longer. Also are twi1 and 2 routed out somehwere on the Nanopi NEO I don't see where the pinout is documented.
  2. Is anyone running the mainline kernel? 3.4 doesn't have the i2c driver for ssd1306 oled displays (fbtft has a driver for this chip but only SPI, mainline has a driver for SSD130X).... and I don't care about anything currently missing it mainline I think (except for ethernet which I don't *really* need I could always use a USB ethernet dongle if needed) I mainly want to run low power, have the USB3 port working, and display output to the oled.
  3. While yes it is a stretch... depending on the LED's voltage drop it could be preventing the IO line from switching logic levels. With the LED's voltage drop being approximately somewhere between 3.2 and 0.7 volts. Also the "glowing" would only be with a sufficent current... which a floating IO isn't going to provide. And yes I have seen glowing LEDs but not in this particular situation ;-) (PCB mounted on a conduit also connected to a 480AC drive.. it mostly went away after grounding the conduit)
  4. Yeah I am using the M1 image with modified .fex and a kernel with your patch + built in SPI LCD module. I can't test he LCD module yet though... don't have it yet. The serial converter I am using is a Silicon Labs CP2102 board.it has LEDs on the TX and RX likes which may be acting as pull downs... I haven't booted it much without the serial console attached. Also, duing my testing I have powered it from both a large USB power pack as well as my laptop's USB port with a short usb cable.
  5. Is this patch included in the armbian build tools or do I need to enable it somehow? I've just built armbian kernel images for my nanopineo on Devuan Jessie (yes I know it's unsupported but I got it working after some trial and error).... It appears from my logs that this patch is not applied to the kernel I just built. I'm wanting to build a specific SPI LCD driver into the kernel as well as use the lower memory clocks. Edit: never mind I didn't notice the file path you passed to cat above... I stuck it there and I expect that will work ;-)
  6. I've rebooted my board 20+ times and haven't seen it hang... So, how often are we talking? I'm using this Transcend 16Gb card https://www.amazon.com/gp/product/B015J44QS8/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1 Also, mine is running without heatsink.
  7. Ok, I tried disabling the UART in the .fex (and it did end up disabled once I rebooted) but this didn't change anthing else as far as I could tell.... Edit: running cpuburn-a7 ... I only have 1 core enabled and everything I am not using disabled in the .fex file. (this is an automatic AVR 32u4 board flasher so I don't need much ummph) Also the ram is running at 132Mhz. Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU 22:07:21: 240MHz 0.44 12% 8% 0% 2% 0% 0% 39°C 22:07:27: 240MHz 0.49 76% 11% 61% 1% 0% 0% 40°C 22:07:33: 240MHz 0.53 100% 3% 95% 0% 0% 0% 40°C 22:07:39: 240MHz 0.56 100% 3% 95% 0% 0% 0% 40°C 22:07:45: 240MHz 0.60 100% 3% 95% 0% 0% 0% 40°C 22:07:50: 240MHz 0.71 100% 7% 90% 1% 0% 0% 40°C 22:07:56: 240MHz 0.83 100% 2% 97% 0% 0% 0% 40°C 22:08:01: 240MHz 0.84 100% 5% 91% 2% 0% 0% 40°C 22:08:07: 240MHz 0.94 100% 5% 91% 2% 0% 0% 40°C
  8. So is it PA06 that is acutually the correct PWM output? I was toggling the correct pin GPIO6 earlier with no effect on UART0. So I presume that is the case...
  9. I was able to get gpio 6 to turn on and off from sysfs but I still haven't figured out pwm. The only thing in /sys/sunxi_pwm/sunxi_pwm is... ./dev ./power ./power/control ./power/async ./power/runtime_enabled ./power/runtime_active_kids ./power/runtime_active_time ./power/autosuspend_delay_ms ./power/runtime_status ./power/runtime_usage ./power/runtime_suspended_time ./subsystem ./uevent my .fex file has the follwing.. [pwm0_para] pwm_used = 1 pwm_positive = port:PA05<3><0><default><default> [pwm1_para] pwm_used = 0 pwm_positive = port:PA06<3><0><default><default>
  10. this is on the naonpim1 image... I did update the nanopine.fex to the one linked to above. If I modprobe sunxi_pwm I get a /dev/sunxi_pwm device and some sysfs interfaces but they don't seem to match up with any documentation I can find. root@nanopi-neo:~# ls a.out test.c root@nanopi-neo:~# armbianmonitor -m Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU 01:21:22: 1008MHz 0.16 0% 0% 0% 0% 0% 0% 52°C 01:21:27: 1152MHz 0.14 0% 0% 0% 0% 0% 0% 52°C 01:21:32: 240MHz 0.13 0% 0% 0% 0% 0% 0% 52°C 01:21:37: 240MHz 0.12 4% 1% 0% 0% 1% 0% 53°C 01:21:42: 240MHz 0.19 1% 1% 0% 0% 0% 0% 55°C 01:21:47: 1008MHz 0.31 1% 1% 0% 0% 0% 0% 53°C 01:21:52: 240MHz 0.28 1% 1% 0% 0% 0% 0% 53°C 01:21:58: 240MHz 0.26 4% 2% 1% 0% 0% 0% 53°C
  11. So I installed the Jessie armbian image, grabbed tkaiser's .fex file ... now I get this repeatedly in the kernel log.... ? [ 7522.234589] [ARISC ERROR] :message process error [ 7522.234650] [ARISC ERROR] :message addr : f004b840 [ 7522.234687] [ARISC ERROR] :message state : 5 [ 7522.234720] [ARISC ERROR] :message attr : 2 [ 7522.234753] [ARISC ERROR] :message type : 30 [ 7522.234786] [ARISC ERROR] :message result : ff [ 7522.234817] [ARISC WARING] :callback not install [ 7522.234857] [cpu_freq] ERR:set cpu frequency to 240MHz failed! Edit: the 240Mhz voltage level was missing... also the minimum frequency was still 480Mhz so I fixed that (and just changed 480Mhz level to 240Mhz also I don't think you need to do this though) and now it works fine.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines