您尚未登录。

#1 Re: 全志 SOC » F1C200S使用panel_simple驱动SPI+RGB液晶控制芯片 » 2023-09-05 22:21:04

I got a similar panel based on the STT701s chip to work with a DRM panel driver similar to panel-sitronix-st7789v, using LicheePi's official Linux 5.2 kernel and spi bitbanging. For any details I can be reached at jackdroptop@gmail.com

#2 全志 SOC » A33 board schematic request » 2023-02-28 20:32:55

droptop
回复: 0

Hi everyone,

Does anyone have the schematic for this A33 board ?

SV5OPC

I'm trying to boot mainline u-boot and Linux on it but can't even figure out where the chip detect pin for MMC is.

I'd be very grateful if anyone shared any info they have on this board.

Thanks,
Brandon

#3 Re: 全志 SOC » Trying to turn the Lichee Pi Nano into a USB gadget » 2022-08-03 17:56:08

Was finally able to get an MTP device on my PC by switching to 5.2 and applying this patch

#4 全志 SOC » Trying to turn the Lichee Pi Nano into a USB gadget » 2022-08-02 16:41:26

droptop
回复: 1

I've been unsuccessfully trying to expose the Lichee Nano as an MTP device to  a Linux Host using https://github.com/viveris/uMTP-Responder. First tried using GadgetFS and then FunctionFS. I'm using Icenowy's 4.15 kernel.

uMTPrd config
umtprd.conf.txt

Startup script
umtprd.conf.txt

Startup logScreenshot.png

Linux .config config.txt


Has anyone had similar issues or gotten this to work?? Any help would be much appreciated

#5 全志 SOC » D500N9325V1 LCD module with Linux on Lichee Pi Nano » 2022-04-22 17:48:42

droptop
回复: 0

Hi everyone,

Has anyone been able to get this LCD module to run on a Linux system? I trying to integrate it into Linux 4.5.

I've created a new panel_desc in panel-simple.c driver and added timings information from the datasheet. All I get is a screen with vertical lines of multiple colors. I suspect I've entered some of the timing data wrongly.

Attached are the module's datasheet, a diff of panel-simple.c showing my additions, and the screen output I'm getting. Any suggestions would be greatly appreciated.

Sincerely

Attachments:
D500N9325V1 SPEC.pdf
panel-simple.c.diff.txt
screen_output.jpg

#6 全志 SOC » S070WV20-CT16 7 inch display with BPI-M2M using Mainline Linux » 2022-03-31 00:07:22

droptop
回复: 0

Hi everyone,

I was wondering if anyone has gotten the S070WV20-CT16 7" display panel to work on the BPI-M2 Magic using the mainline linux kernel (i.e non-sunxi kernel). I would be most grateful if that person could share the modifications they made to the mainline devicetree for this board.

Sincerely,

Brandon

#7 Re: 全志 SOC » Lichee Pi Nano sdcard boot hangs » 2022-02-23 22:57:28

Hi X3,

Can you point me to the source of your information ??

#8 全志 SOC » Lichee Pi Nano broken link to offcial buildroot .config » 2022-02-23 21:08:31

droptop
回复: 0

Hi everyone,

I'm trying to build a rootfs for the Nano following the instructions at http://nano.lichee.pro/build_sys/rootfs.html. However in trying to dowload the .config file I get a 403 error from the server. I'm stuck and was wondering if anyone has this file lying around or knows of a mirror.

Thanks in advance.

#9 Re: 全志 SOC » Lichee Pi Nano sdcard boot hangs » 2022-02-23 19:02:06

Hi tigger,

My goal is to boot from an sd card. not the NOR flash. I've swapped sd cards and it is still stuck at trying to boot from mmc1. Is this a general problem with this board?

#10 全志 SOC » Lichee Pi Nano sdcard boot hangs » 2022-02-23 17:47:09

droptop
回复: 6

Hi y'all,

I built and sdcard image for the Lichee Pi Nano using the buildroot image at https://github.com/florpor. However on booting with the flashed sdcard

U-Boot SPL 2018.01-05679-g013ca457fd-dirty (Aug 02 2019 - 09:57:28) DRAM: 32 MiB Trying to boot from MMC1

and it hangs indefinitely. I would be very grateful for any ideas

#11 Re: 全志 SOC » f1c100s spi cs gpios无效,如何设置具有多个cs的多个spi设备。 » 2022-02-01 18:41:27

Hi @Yujian Tianya,

Do you know how to do this for the f1c200s spi1 controller ?? I'm using spidev, and it looks like cs is not working.

#12 全志 SOC » f1c200s spi not working » 2022-01-29 00:28:19

droptop
回复: 0

Hi everyone,

I can't seem to get spi1 on the  f1c200s to work. My board is the MangoPi R3.  Was wondering if anyone had configured a device for the second SPI controller before.

Here are the additions I made to the file here,

&pio {
	spi1_pins: spi1-pins {
		pins = "PE9", "PE7", "PE10", "PE8";
		function = "spi1";
	};
			
	spi1_cs_pins: spi1-cs-pins {
        pins = "PE7";
        function = "gpio_out";
	};
};


&spi1 {
	status = "okay";
	
	pinctrl-names = "default";	
	pinctrl-0 = <&spi1_pins &spi1_cs_pins>;
	num_chipselect = <1>;
	cs-gpios = <&pio 4 7 GPIO_ACTIVE_HIGH>;
	
	spidev@0 {
            compatible = "spidev";
            reg = <0>;   
            spi-max-frequency = <0x2625a00>;
   	};
};

Loopback tests with this code work. So it looks like the issue may be the chip select (PE7) ??. The device I'm trying to connect to the board is the RFID-MFRC522.

Any help with very much appreciated.

#13 Re: 全志 SOC » No Spidev device » 2022-01-27 19:06:03

Yup I added it. Looking at the source (board/widora/mangopi/r3/devicetree/linux/devicetree.dts) there is no configuration for the second SPI controller (spi1), so I added one. Also the compatible string I use is 'linux,spidev'. I now get the device in /dev but it seems the a test program shows the SPI port isn't working. I'll keep trying..

#14 Re: 全志 SOC » No Spidev device » 2022-01-27 17:56:39

Hi shaoxi2010,,

Checked board/allwinner/suniv-f1c100s/devicetree/linux/suniv-f1c100s.dtsi and board/widora/mangopi/r3/devicetree/linux/devicetree.dts. Got nothing

#15 Re: 全志 SOC » No Spidev device » 2022-01-27 16:00:37

Thank you @Lone Star Tears, for the quick response and sorry I'm only getting back now.

This is the section where CONFIG_SPI_SPIDEV is already set.

#
# SPI Protocol Masters
#
CONFIG_SPI_SPIDEV=y
# CONFIG_SPI_LOOPBACK_TEST is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_SPI_SLAVE is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
...

Do I need to set CONFIG_SPI_SLAVE??. And also what make target do I use to avoid recompiling everything.

#16 全志 SOC » No Spidev device » 2022-01-26 16:27:10

droptop
回复: 6

Hi everyone,

I recently just built flashed the r3 with a nand image, using the sources from this repo.

cat /lib/modules/5.4.99/modules.builtin | grep spi 

  confirms the presence of the spidev module. However there isn't any

/dev/spi*

file.  Looking at the contents of the file 'board/widora/mangopi/r3/devicetree/linux/devicetree.dts' I only find the device node for the first SPI controller (spi0) with child nodes spi-nor & spi-nand and none for the second SPI controller (spi1 ?). Do I need add another SPI device node to these file?? or is there something I'm missing??

Any help would be much appreciated

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn