-
Posts
3889 -
Joined
-
Last visited
Everything posted by martinayotte
-
NanoPi Neo Core GPIOA0 would'n toggle
martinayotte replied to Coby Levy's topic in Allwinner H2 & H3
What is the output provided by the command "cat /sys/kernel/debug/gpio" ? -
Orange pi 3 - change i2c speed
martinayotte replied to Aleksey Gavrikov's topic in Allwinner A64, H5 and H6
I2C standard clock are usually 100KHz or 400KHz, but you can try other values. Here is the doc, the parameter is "clock-frequency" : https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-designware.txt- 1 reply
-
1
-
4kp30 video on Orange Pi Lite and mainline hardware acceleration
martinayotte replied to genesys's topic in Allwinner H2 & H3
OPiZeroPlus2 is using H5 SoC, not H3 ... -
New board of interest (JLD076)
martinayotte replied to mboehmer's topic in Common issues / peer to peer technical support
This looks like Android partitioning ... -
-
Download this UserGuide : http://dl.linux-sunxi.org/A20/A20 User Manual 2013-03-22.pdf Read the LRADC chapter starting at page 192. You will see the description of the ControlRegister at page 193-194. You need your /dev/mem to be "O_RDWR", not "R+" to allow writing into ControlRegister.
-
Right, but don't forget to initialize Control Register first by setting Continuous Rate and Continuous Mode...
-
I can do sporadic testing ...
-
PWM is always disabled by default in DT. You will need to decompile DTB into DTS, edit the DTS to place ' status = "okay"; ' in the PWM node, and recompile DTS into DTB ...
-
Overlays on R40 is a bit different than the ones on H3 ... I've done tests on my BPiM2U using proper overlay which is "spi-spidev0" (not "spi-spidev") , without any needs for "param_spidev_spi_bus", and /dev/spidev0.0 appeared properly.
-
How to use 1-wire for DS18B20 on Odroid N2?
martinayotte replied to Moan's topic in Amlogic S905(x), S922X
Overlays on meson64 are tough and not well supported in Armbian. Even different Amlogic SoCs pinctrl are not compatible between them. I've took a quick look at my OdroidN2, and it seems that GPIOX_7 is pin 72. So, I've created a quick overlay source provided below, although I didn't attached any DS18B20, it seems to work : /dts-v1/; / { compatible = "amlogic,meson-gxbb"; fragment@0 { target-path = [ 2f 00 ]; __overlay__ { onewire@0 { compatible = "w1-gpio"; pinctrl-names = "default"; gpios = < 0xffffffff 0x48 0x06 >; status = "okay"; phandle = < 0x01 >; }; }; }; __symbols__ { w1 = "/fragment@0/__overlay__/onewire@0"; }; __fixups__ { gpio = "/fragment@0/__overlay__/onewire@0:gpios:0"; }; }; Executing the command "cat /sys/kernel/debug/gpio" provided me the following output, and as we can see the w1 bus appeared : gpiochip1: GPIOs 412-426, parent: platform/ff800000.sys-ctrl:pinctrl@14, aobus-banks: gpio-420 ( |regulator-tflash_vdd) out hi gpio-421 ( |TF_IO ) out lo gpio-423 ( |n2:blue ) out lo gpiochip0: GPIOs 427-511, parent: platform/ff634400.bus:pinctrl@40, periphs-banks: gpio-442 ( |PHY reset ) out hi ACTIVE LOW gpio-447 ( |usb-hub-reset ) in hi gpio-448 ( |regulator-hub_5v ) out hi gpio-449 ( |regulator-usb_pwr_en) out lo gpio-464 ( |reset ) out hi ACTIVE LOW gpio-474 ( |cd ) in hi ACTIVE LOW gpio-499 ( |onewire@0 ) out hi Hoping this helped ... -
Switching SUNXI-DEV to 5.9.y (h3-h5-h6/megous)
martinayotte replied to dolphs's topic in Development
Good ! Thanks ! -
Switching SUNXI-DEV to 5.9.y (h3-h5-h6/megous)
martinayotte replied to dolphs's topic in Development
Ah ! Ok ! So, we can trim my WiFi patches to keep only parts relevant to other drivers not provided by jwrdegoede ... -
Switching SUNXI-DEV to 5.9.y (h3-h5-h6/megous)
martinayotte replied to dolphs's topic in Development
Those 2 patches worked fine 2 days ago for my 5.9.y builds (and also a month ago in 5.8.y) ... Is there something that changed since then ? -
solved Amlogic forum adjustments
martinayotte replied to Werner's topic in Armbian Project Administration
I don't have any objections to merge those subforums ... -
Switching SUNXI-DEV to 5.9.y (h3-h5-h6/megous)
martinayotte replied to dolphs's topic in Development
My Allwinner garden tour using 5.9.y is almost finished ! Only 2 board models left ... -
H96 Max X3 Specifics only
martinayotte replied to Albert Barcelona's topic in TV Boxes's General Chat
Those are only the pins. If there isn't something like "spdif@1c21000" node (this one is on H3 SoC), then there is nothing enabled ... -
H96 Max X3 Specifics only
martinayotte replied to Albert Barcelona's topic in TV Boxes's General Chat
You need to decompile DTB into DTS, edit the DTS to change ' status = "okay"; ' of the spdif-out to ' status = "disabled"; ', and then recompile DTS into DTB. -
H96 Max X3 Specifics only
martinayotte replied to Albert Barcelona's topic in TV Boxes's General Chat
Which ones ? -
Switching SUNXI-DEV to 5.9.y (h3-h5-h6/megous)
martinayotte replied to dolphs's topic in Development
I think it should be good to switch to u-boot v2020.07, at least for DEV, I've done that since few weeks locally and didn't got any issues ... -
Switching SUNXI-DEV to 5.9.y (h3-h5-h6/megous)
martinayotte replied to dolphs's topic in Development
Ok ! I will do some 5.9 builds for few of my Allwinner garden members ... -
Probably missing eMMC node in DT ...
