Everything posted by ning
- OrangePi 3b RK3566 Help with name of pins
- OrangePi 3b RK3566 Help with name of pins
- OrangePi 3b RK3566 Help with name of pins
- Hardware accelerated video decoding fails with gstreamer on Radxa Zero SBC
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
-
Help wanted to test a new OpenVFD alternative
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.
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
-
Help wanted to test a new OpenVFD alternative
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; }; }; };
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
- Help wanted to test a new OpenVFD alternative
-
Questions on activating GPIO Pins
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.
-
gpio pins missing from gpio readall
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.
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
@Hqnicolas here is my tree https://github.com/zhangn1985/linux-stable/
- [FIXED] Firefox starts with message "failed to read the configuration file"
-
GPIO problem
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
-
JianPian RK3566 TV Box (8G+32G) develop log
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.
-
Help to review: porting Mainline U-boot and Linux to Tmall MagicBox M16S (Amlogic S912-H Tv Box)
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.