Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ning

Members
  • Joined

  • Last visited

Everything posted by ning

  1. yuo can't use GPIO as power supply, will break soc.
  2. there is not reset pin on this connecter? unless you change I2C1_SCL_M0/I2C1_SDA_M0 to reset pin, according to your panel's interface define.
  3. I think OPI 3B supports eDP panel, but sitronix is MIPI panel, right?
  4. develop effort on Amlogic HW dec looks stopped, and not usable now. please forget this driver.
  5. in fd6551 data sheet, page 7, it says: clk better lower than 100K. I don't know how to set i2c-rockchip or i2c-gpio to 100k or lower? i2c-gpio,delay-us = <10>; ? http://www.fdhisi.com/down/upload/20191023/1571794231.pdf
  6. VDD has 3.3V.. I have no idea now.
  7. use i2c1, error timeout, use gpio-i2c error no such device. let me check power VDD.
  8. [ 23.946809] tm16xx 4-0034: Display initialized successfully i2c4 is bad, any address can have good write result.
  9. i2c1 { /omit-if-no-ref/ i2c1_xfer: i2c1-xfer { rockchip,pins = /* i2c1_scl */ <0 RK_PB3 1 &pcfg_pull_none_smt>, /* i2c1_sda */ <0 RK_PB4 1 &pcfg_pull_none_smt>; }; }; phandle 0x35 is gpio0
  10. it's easy to try fd655 and i2c-gpio. and I read Android dts many times, not findings. jianpian.dts
  11. after read spec, 7 SEG pins for 7 LEDs (LAN, WIFI...etc) and 4 DIG pins control 4 digital. 5 DIG pins are controlled by 66h~6eh, while 4 digitals how to control seg pins? use 1 DIG pin? I guess Yes. each digital has 7 LEDs, and there also 7 Seg LED. write number to DIG register, at least 1 LED will on. OK. 1 DIG pin controls 1 digtal, and each digital has 7 seg, 1 seg connects to 1 SEG pin. there are 5 digitals (one virtual), and they share SEG pins. So let me check VDD.
  12. I checked your code, the i2c address is correct, brightness register is correct. dig registers are correct. it should work, but no. I don't know why, let me check fd6551's VDD. if there no power, will it answer I2C command, I2C write should return -1, but no error in dmesg.
  13. use sysfs leds interface to control it but it doesn't show any thing...
  14. it's on i2c4. I don't see I2c error during probe. please let me know what to do next! &i2c4 { status = "okay"; vfd@24 { compatible = "fdhisi,fd6551"; reg = <0x24>; tm16xx,digits = [04 03 02 01]; tm16xx,segment-mapping = [03 01 02 06 04 05 00]; #address-cells = <2>; #size-cells = <0>; led@0,0 { reg = <0 0>; function = LED_FUNCTION_ALARM; }; led@0,1 { reg = <0 1>; function = LED_FUNCTION_USB; }; led@0,3 { reg = <0 3>; function = "play"; }; led@0,2 { reg = <0 2>; function = "pause"; }; led@0,4 { reg = <0 4>; function = "colon"; }; led@0,5 { reg = <0 5>; function = LED_FUNCTION_LAN; }; led@0,6 { reg = <0 6>; function = LED_FUNCTION_WLAN; }; }; };
  15. the correct part is VFD device is fdhisi,fd6551, I see the chip on board. but the i2c gpios are icorrect..
  16. OK, I will try this suggestion.
  17. I don't have vfd.conf. I can try the drivers one by one, then try to write a conf.
  18. I'm happy to and will test your driver on JianPian Rk3566 TV box.
  19. you need to develop your dtbo to support your addon devices. from your description, your device needs a set of SPI pins, and a reset pin. OPI PC plus already provides the pins you want. MOSI SPI0_MOSI / GPIO10 (PIN 19) MISO SPI0_MISO / GPIO9 (PIN 21) SCK SPI0_SCLK / GPIO11 (PIN 23) NSS/Enable SPI0_CE0_N / GPIO8 (PIN 24) then, you need develop a dtbo for your device. 156 &spi0 { 157 status = "okay"; 158 159 YOUR_DEVICE@0 { 160 compatible = "YOUR_DEVICE"; 161 reg = <0>; 162 spi-max-frequency = <50000000>; 163 }; 164 }; if your device use an userspace driver, that not need YOUR_DEVICE@0 node. that all you need to do.
  20. you want to add a 2 pin fan to opi5, unfortunitly, PWM port is IO port, it doesn't have enough power to driver your fan, thus would break the GPIO bank, and make whole bank unfunction. thus suggest to directly use 5V power pin. if you have 3 pin fan, you can use a PWM pin to control it speed. in this case, you need write dts code to enable it.
  21. @Hqnicolas here is my tree https://github.com/zhangn1985/linux-stable/
  22. this msg due to leftover file of armbian packages.
  23. ning replied to Baxi's topic in Orange Pi 5
    you can't use GPIO as power supply for fan, this will break the gpio bank. you can use GPIO as ON/OFF switch for fan, you should use "gpio-fan" driver. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/devicetree/bindings/hwmon/gpio-fan.txt?h=v6.7.8 by this you can use /sys/class/thermal/cooling_deviceX/state control you fan, but if you want to system automatically enable your fan at certan temperature, you need register the fan as a cooling device, for cpu/gpu or hard driver. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
  24. 1, serial port: open the box, on the backside, there are 3 hole, which is serail port, from right to left, they are TX, GND, RX, serial config is 150000n8. first log: we know the memory is 8GB Lp4x. Ddr version is V1.14. freq=324Mhz? which is from rkbin repo. next step try to use ctrl+c to stop auto boot.
  25. Hw Spec Soc: Amlogic S912-H, (S192 with dolby, DTS) Mem: 2G Ddr3 Emmc: 16G 4K HDMi AV out ethernet ?? Wifi/Bt ?? USB port *1 5V DC-IN IR receiver Reset hole OS: Ali YunOS Steps 1, connect UART from mainboard test points, (I can only find M17's UART port) 2, build u-boot follow q200.rst in u-boot doc, use VIM2 config and use VIM2 fip blobs (hope that works) 3, build Arm64 debian bookworm with default debian kernel to USB driver, and config system. 4, falsh u-boot to USB driver 5, connect to device with UART, hope to stop at u-boot cmdline, and erase emmc. if failed, find other way to erase, maybe Amlogic flash tool. 6, instert USB driver, and reboot device potaintial issues: can't find UART port on mainboard VIM2 mainline Uboot can't boot M16S device does not support boot from USB. No schematics for next step dev.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.