Jump to content

giseleznev

Members
  • Content Count

    36
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hi team, can't find instructions how to build https://github.com/TinkerBoard2/kernel this kernel, and how to upload it to sd card. please, help
  2. hi team, can't find certain instructions, how to crosscompile this kernel https://github.com/TinkerBoard2/kernel on x86 linux and then upload it to a sd card please, help!
  3. full is here: https://pastebin.com/5x8aYSjk
  4. @tooz By the way, here is my dmesg with some errors. What does it mean ? linaro@linaro-alip:~$ dmesg | grep i2c [ 1.865109] i2c /dev entries driver [ 1.869490] of_get_named_gpiod_flags: parsed 'vsel-gpios' property of node '/i2c@ff3c0000/fan53200@60[0]' - status (0) [ 1.883092] rk3x-i2c ff3c0000.i2c: Initialized RK3xxx I2C bus at ffffff8009858000 [ 1.891296] rk3x-i2c ff110000.i2c: Initialized RK3xxx I2C bus at ffffff800985a000 [ 1.899201] rk3x-i2c ff120000.i2c: Initialized RK3xxx I2C bus at ffffff800985c000 [ 1.907105] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at ffffff800985e000 [ 1.915409] of_get_named_gpiod_flags: parsed 'vsel-gpios' property of node '/i2c@ff3d0000/fan53200@60[0]' - status (0) [ 1.928973] rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at ffffff8009860000 [ 1.937317] rk3x-i2c ff3e0000.i2c: Initialized RK3xxx I2C bus at ffffff8009862000 [ 1.964363] tinker-mcu: tinker_mcu_probe: i2c_id= 0x8 [ 2.027682] tinker-mcu: tinker_mcu_ili9881c_probe: i2c_id= 0x8 [ 2.210914] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3c0000/pmic@1b[0]' [ 2.210925] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3c0000/pmic@1b[0]' [ 2.217168] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3c0000/pmic@1b[1]' [ 2.217179] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3c0000/pmic@1b[1]' [ 2.295962] of_get_named_gpiod_flags: parsed 'int-n-gpios' property of node '/i2c@ff3d0000/fusb30x@22[0]' - status (0) [ 2.296029] of_get_named_gpiod_flags: parsed 'vbus-5v-gpios' property of node '/i2c@ff3d0000/fusb30x@22[0]' - status (0) [ 2.296073] of_get_named_gpiod_flags: can't parse 'vbus-other-gpios' property of node '/i2c@ff3d0000/fusb30x@22[0]' [ 2.296083] of_get_named_gpiod_flags: can't parse 'vbus-other-gpio' property of node '/i2c@ff3d0000/fusb30x@22[0]' [ 2.296128] of_get_named_gpiod_flags: can't parse 'discharge-gpios' property of node '/i2c@ff3d0000/fusb30x@22[0]' [ 2.296138] of_get_named_gpiod_flags: can't parse 'discharge-gpio' property of node '/i2c@ff3d0000/fusb30x@22[0]' [ 2.315813] input: Typec_Headphone as /devices/platform/ff3d0000.i2c/i2c-4/4-0022/input/input0 [ 3.141361] of_get_named_gpiod_flags: parsed 'irq_gpio_number' property of node '/i2c@ff110000/gsl3673@40[0]' - status (0) [ 3.141394] of_get_named_gpiod_flags: parsed 'rst_gpio_number' property of node '/i2c@ff110000/gsl3673@40[0]' - status (0) [ 3.141697] input: gsl3673 as /devices/platform/ff110000.i2c/i2c-1/1-0040/input/input1 [ 3.197419] gsl3673 1-0040: GSL3673 test_i2c error! [ 3.780928] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/i2c@ff110000/imx219@10[0]' - status (0) [ 4.654953] i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports [ 4.692103] i2c i2c-10: of_i2c: modalias failure on /dp@fec00000/ports
  5. Yes, I did reboot empty mean all printed addresses are "_"
  6. Device is si5351chip I've just changed #intf:i2c6=off to intf:i2c6=on from the default, i do have 6-th here: ls /dev/i2c* but i get empty line from sudo i2cdetect -y 6
  7. hi everyone I think I'm doing smth wrong with my tinker board 2 I've turned on all i2c overlays and connected i2c device to pins 3,5, double checked wires i2cdetect can't detect any device, prints empty bus, but device is connected What am I missing ?
  8. ADC is pcm1804, but it doesn't matter, as basically all I need is master clock signal, taken from i2s. I can test master clock adding with a DAC pcm5102. That's what I'm doing. I'm using hifiberry-dac-overlay with changes above, and in addition to usual i2s I want to get master clock on one of the pins. As I think, it can be done with adding i2s-8ch-mclk to an overlay. The question is how ? pcm 5102 connected and it sounds OK, I'm probing additional pin with oscillograph, hoping to get master clock
  9. @tooz, Any ideas, please ?
  10. For a simple test, I'm adding usage of i2s_8ch_mclk to a hifiberry dac overlay. I want to see not just i2s signal, but also master clock on pin 37 (phys num). There no master clock, just i2s for now. What am I doing wrong? Any ideas, please, help! Overlay (Linux linaro-alip 4.4.194) : #include <dt-bindings/pinctrl/rockchip.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/clock/rk3399-cru.h> /dts-v1/; /plugin/; / { compatible = "rockchip,rk3399"; fragment@0 { target-path = "/spdif-sound"; __overlay__ { status = "disabled"; }; }; fragment@1 { target-path = "/hdmi-dp-sound"; __overlay__ { status = "disabled"; }; }; fragment@2 { target = <&i2s0>; __overlay__ { assigned-clocks = <&cru SCLK_I2SOUT_SRC>; assigned-clock-parents = <&cru SCLK_I2S0_8CH>; pinctrl-0 = <&i2s_8ch_mclk>, <&i2s0_8ch_bus>; status = "okay"; }; }; fragment@3 { target-path = "/"; __overlay__ { pcm5102a-codec { #sound-dai-cells = <0>; compatible = "ti,pcm5102a"; status = "okay"; }; }; }; fragment@4 { target = <&pinctrl>; __overlay__ { i2s0 { i2s_8ch_mclk: i2s-8ch-mclk { // GPIO4_A0 - RK3399 I2S_CLK rockchip,pins = <4 21 1 &pcfg_pull_none>; }; }; }; }; fragment@5 { target-path = "/sound-ext-card"; __overlay__ { compatible = "hifiberry,hifiberry-dac"; i2s-controller = <&i2s0>; status = "okay"; }; }; };
  11. OK, I found: i2s_8ch_mclk: i2s-8ch-mclk { rockchip,pins = <4 0 RK_FUNC_1 &pcfg_pull_none>; }; Seems like I need this one to use in overlay to output mclk. How should I add it to a .dts file ?
  12. Basically, I need to output clock signal to one of free gpio pins. It should be synced with other clocks of i2s. How can I do it ?
  13. I got I2S working with a PCM5102 codec (DAC), but in the next board I would like to use a board which requires MCLK (256*fs). How to output MCLK as well additionally to BCLK/LRCLK?
  14. and it's not adc, or I don't understand. I need a tested adc, please tell about if you have.
  15. Thanks, but it's not hat 😞 It's usb device. Maybe other ?
×
×
  • Create New...