sfx2000 Posted May 29, 2019 Share Posted May 29, 2019 On 5/5/2019 at 11:55 AM, guidol said: I do like the small 23MB footprint of this small Linux (would like to see such Linux on a Router which normally do use OpenWRT - many of them have 128MB RAM, but less Mhz) Don't go there - OpenWRT can be very efficient, but it's not a full flavored desktop class linux... and MHz doesn't matter as much as one would think with MCU's in this class - start pushing packets through the platform, and there's where OpenWRT starts to show it's strength. 0 Quote Link to comment Share on other sites More sharing options...
guidol Posted May 29, 2019 Share Posted May 29, 2019 46 minutes ago, sfx2000 said: OpenWRT can be very efficient, but it's not a full flavored desktop class linux... In dont like OpenWRT I have started many times with different devices to use OpenWRT, but mostly after 1 day or 2 I did put it aside, because sometimes the device isnt available anymore in the network after a network-configuration or the packets I want to use do not work on this device. debian on the LicheePi is only a "pre-version" but does work for me much better than any OpenWRT I used in the past. In the last years OpenWRT is getting better, but isnt working - for me - not as good as any real linux. Thats sad, because for small devices it would be great. The other bas thing is that many OpenWRT devices does cost now - as some Allwinner or RPi devices are now very cheap - more than a linux-system. So OpenWRT is for me only a option if you net it as an router/network-device. 0 Quote Link to comment Share on other sites More sharing options...
sfx2000 Posted May 30, 2019 Share Posted May 30, 2019 18 hours ago, guidol said: In dont like OpenWRT I have started many times with different devices to use OpenWRT, but mostly after 1 day or 2 I did put it aside, because sometimes the device isnt available anymore in the network after a network-configuration or the packets I want to use do not work on this device. debian on the LicheePi is only a "pre-version" but does work for me much better than any OpenWRT I used in the past. Different strokes maybe - I like it because they do tend to keep current within the platforms they support, and onboarding a new platform is fairly straight forward - and sometimes less work than going from metal to buildroot and then to yocto... 18 hours ago, guidol said: In the last years OpenWRT is getting better, but isnt working - for me - not as good as any real linux. Thats sad, because for small devices it would be great. Please don't throw stones at another distro, it's bad form - OpenWRT is as much of a "real linux" as any other distro, different focus perhaps, and one tightly focused towards networking and wireless (not just WiFi these days). 18 hours ago, guidol said: The other bas thing is that many OpenWRT devices does cost now - as some Allwinner or RPi devices are now very cheap - more than a linux-system. So OpenWRT is for me only a option if you net it as an router/network-device. Fair enough - but cross platform support for MIPS/ARM/x86 counts for a lot - and it is considered more of an embedded linux platform... QC-Atheros IPQ4019 is a Quad A7, similar to AllWinner H3, and does nicely in 128MB RAM/32MB SPI-NOR, and has a working dual-band WiFi5 (802.11ac AC1200 class) stack, and plenty of bandwidth - and a working VPN platform (including Wireguard) - I don't recall Armbian actually having a working UBI/UBIFS over MTD on NAND or NOR flash, and recent experience with EspressoBIN, OpenWRT seems to have a better solution with networking and system stability. I've spent the last 10 weeks on OpenWRT with a MIPS24Kc based platform on a fairly small footprint (64/16) - again, my image is about 7MB, give or take, and I use about 28MB of RAM (some of that is due to glib2, which is a real pig, but it offers a lot in exchange) - during that time, I've had to dive deep into the internals, including their toolchain, etc, and I've come to respect much of what the OpenWRT/LEDE team has accomplished. It's allowed me to focus on what's important with the project, and they've sorted out 90 percent of things that I don't need to worry about. Anyways - 64MB, with Embedded Linux, is more than enough space to get a decent performing platform... Something like an "Armbian Lite" - with Busybox, maybe a smaller C Library like MUSL, and a stripped down kernel - almost sounds like Alpine Linux, wouldn't you agree? 0 Quote Link to comment Share on other sites More sharing options...
iscle Posted June 1, 2019 Share Posted June 1, 2019 Hi guys! I've been following this thread for the past few days now. Since then I've updated the min debian image to stretch and it works almost perfectly. Upon updating the kernel to 4.14.y (also tried latest linux stable build), with the ethernet + audio dtb, USB stopped working. I can still use CDC to get internet to it, but I can't plug in any USB devices in host mode. Did any of you face this issue? If so, did you resolve it? Thanks Iscle 0 Quote Link to comment Share on other sites More sharing options...
lxde-OSIREN Posted June 10, 2019 Share Posted June 10, 2019 let me know the boot times for lichee pi desktop img. 0 Quote Link to comment Share on other sites More sharing options...
gaston1980 Posted August 25, 2019 Share Posted August 25, 2019 hi to all, I made my own board using the V3s and Im new to the embedded world. Is my intention to enable the ethernet port on V3s and following this links: 1) https://licheezero.readthedocs.io/zh/latest/贡献/article 6.html 2) https://patchwork.ozlabs.org/patch/868730/ I cant cross-compile the dtbs. Im using licheepi-zero dts and sunxi8i-V3s.dtsi to enable ethernet. Did someone enable ethernet on V3s? 0 Quote Link to comment Share on other sites More sharing options...
markbirss Posted August 26, 2019 Share Posted August 26, 2019 @gaston1980 replace your kernel image and modules with this below ( i used the dock dtb also) git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y cd linux make ARCH=arm licheepi_zero_defconfig make ARCH=arm menuconfig #add bluethooth, etc. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules_install https://whycan.cn/t_336.html https://lore.kernel.org/patchwork/patch/884654/ Note: /* The LEDs use PG0~2 pins, which conflict with MMC1 */ The NIC leds dont light up but it works 0 Quote Link to comment Share on other sites More sharing options...
Tido Posted August 26, 2019 Share Posted August 26, 2019 10 hours ago, gaston1980 said: the ethernet port on V3s you maybe want to look around here https://github.com/petit-miner/Blueberry-PI I don't know how active @petit_miner still is, but at least he was active Sunxi https://linux-sunxi.org/V3s what is already in mainline kernel supported: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix 0 Quote Link to comment Share on other sites More sharing options...
gaston1980 Posted August 26, 2019 Share Posted August 26, 2019 Thanks for the links. Because im really new to this, Im trying to understand how to modify the dts to enable the ethernet. Thats why I try to modify the u-boot dts files and It works. But when I tried to modify the linux kernel 5.2.9 dts files it didn't work, I got errors and I making the same modifications as mentioned in those links. One problem is that I need the licheepi-zero-dock to cross-compile, if not I got errors. So I changed it to get ethernet. If one of you can take at look at those files maybe you'll find something I can't. Thanks for you help. Regards Gaston sun8i-h3.dtsi sun8i-v3s-licheepi-zero.dts sun8i-v3s-licheepi-zero-dock.dts 0 Quote Link to comment Share on other sites More sharing options...
petit_miner Posted August 27, 2019 Share Posted August 27, 2019 I think it would be helpful if you could post these error messages. Have a look at my example devicetree files on Github: https://github.com/petit-miner/Blueberry-PI/tree/master/Software/devicetree%20examples And why do you have uploaded a dtsi file of the H3 SoC? To use my devicetree files just copy them to arch/arm/boot/dts/ overwrite the sun8i-v3s.dtsi file and search for the Makefile in this folder. Search in the Makefile for sun8i-v3s and delete these to listings. Replace them with sun8i-v3s-blueberrypi.dtb \ Then start compiling the kernel. 0 Quote Link to comment Share on other sites More sharing options...
gaston1980 Posted August 27, 2019 Share Posted August 27, 2019 Solve it!!! It was ";". Thanks PETIT MINER for reply and yes I upload H3 dtsi by mistake . I was able to cross-compile the linux kernel and u-boot. Now I must create the SD card. Any help with this final step will be appreciate. Thanks 0 Quote Link to comment Share on other sites More sharing options...
petit_miner Posted August 29, 2019 Share Posted August 29, 2019 (edited) Have a look at my wiki on Github: https://github.com/petit-miner/Blueberry-PI/wiki You can skip step 3 since you have already created the kernel and the required devicetree file. However you need to create the boot.scr file in order to boot, have a look at step 2.2. I hope this helps. Edited August 29, 2019 by petit_miner 0 Quote Link to comment Share on other sites More sharing options...
gaston1980 Posted August 30, 2019 Share Posted August 30, 2019 Its possible to use an UART LCD to the V3s instead of using the LCD output? Im wondering about Power consumption using LCD. Im using AS1117-1.2 (1A), AS1117-1.8(1A) and AS1117-3.3(1A) to power the V3s. Its possible to use ssh with V3s? 0 Quote Link to comment Share on other sites More sharing options...
gaston1980 Posted August 30, 2019 Share Posted August 30, 2019 Another questions, this LDO can be used with the V3s? Im rechecking the board and find this link https://bbs.sipeed.com/t/yet-another-custom-v3s-board/240/4 about voltage and current recomended for Vcore, Vdram and Vsupply. In other sites I found that those values may vary (1.2V 1.2A for core, 1.8V 1.2A for Vdram and 3.3V 1.2A for Vsupply). Its possible 1A for core, Vdram and supply? 0 Quote Link to comment Share on other sites More sharing options...
petit_miner Posted September 1, 2019 Share Posted September 1, 2019 What kind of UART LCD? These Nextion LCDs? Yeah sure they should work witout any issues. But why you don't use the 24bit parallel LCD interface? You are much more flexible with them and also are much cheaper and you get higher resolution like 800x600. You can use LDOs with a current limit of 1A for every rail. You need: 3,3V; 3V; 1,8V and 1,2V. If you don't care about losses. DC DC Step down are way more efficient, but are more complex to integrate. 0 Quote Link to comment Share on other sites More sharing options...
jonsmirl Posted September 2, 2019 Share Posted September 2, 2019 What is the status of h.264 encode/decode support on V3? Has anyone got it working on a mainline kernel? 0 Quote Link to comment Share on other sites More sharing options...
Péter Szilágyi Posted November 13, 2019 Share Posted November 13, 2019 Hi guys! Do you have any experience on controlling the GPIO-s on Lichee Pi (Allwinner V3s) from C code? Greetings, Peter 0 Quote Link to comment Share on other sites More sharing options...
martinayotte Posted November 13, 2019 Share Posted November 13, 2019 2 hours ago, Péter Szilágyi said: Do you have any experience on controlling the GPIO-s on Lichee Pi (Allwinner V3s) from C code? Since V3s and H3 have both their pins controller at the same address, ie pinctrl@1c20800, any library for H3 should be able to handle it. Personally, I'm using this python library https://github.com/duxingkei33/orangepi_PC_gpio_pyH3 which using C code under the hood, see here : https://github.com/duxingkei33/orangepi_PC_gpio_pyH3/blob/master/pyA20/gpio/gpio_lib.c So, you can do quite the same to initialize /dev/mem and setting up the directions and values... 0 Quote Link to comment Share on other sites More sharing options...
guidol Posted November 19, 2019 Share Posted November 19, 2019 On 8/26/2019 at 10:09 AM, markbirss said: @gaston1980 replace your kernel image and modules with this below ( i used the dock dtb also) git clone https://github.com/Lichee-Pi/linux.git -b zero-4.13.y cd linux make ARCH=arm licheepi_zero_defconfig make ARCH=arm menuconfig #add bluethooth, etc. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 INSTALL_MOD_PATH=out modules_install @markbirss here seems to be a new kernel 5.2 for the LicheePi:https://github.com/Lichee-Pi/linux/tree/zero-5.2.y I compiled the zImage and copied this & modules & .dtb over...but the LicheePi only boot to the green light. Got no serial boot-log But I dont know what to select at he menuconfig - so I did leave this as it was... Could you please extend your instructions? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
markbirss Posted November 20, 2019 Share Posted November 20, 2019 @guidol simply copy all the kernel module files from the "out" folder to /lib/modules/kernelversion folder 0 Quote Link to comment Share on other sites More sharing options...
guidol Posted November 20, 2019 Share Posted November 20, 2019 2 hours ago, markbirss said: @guidol simply copy all the kernel module files from the "out" folder to /lib/modules/kernelversion folder I did that yesterday, but the LicheePi Zero doesnt boot up complete and I cant see why 0 Quote Link to comment Share on other sites More sharing options...
markbirss Posted November 20, 2019 Share Posted November 20, 2019 @guidol ok, I see Did you also copy modules.dep ? I have not yet tired this new kernel. 0 Quote Link to comment Share on other sites More sharing options...
guidol Posted November 20, 2019 Share Posted November 20, 2019 1 hour ago, markbirss said: @guidol Did you also copy modules.dep ? I have not yet tired this new kernel. modules.dep - is this a file? I did copy the modules directory for the kernel 5.2 recursive to the card dep could be dependecies? 0 Quote Link to comment Share on other sites More sharing options...
Escobar523 Posted December 28, 2019 Share Posted December 28, 2019 happy happy, joy joy, kernel compilation and upgrade to buster (jessie to stretch to buster) without any error. For compilation of the kernel i followed the instructions at https://licheepizero.us/build-kernel-for-licheepi-zero I just changed to kernel 5.2 instead default branch 4.10.y, also i used the latest gcc-linaro instead the one mentioned in the instructions. Next thing to do: make X running :-) 1 Quote Link to comment Share on other sites More sharing options...
Meisam Posted January 29, 2020 Share Posted January 29, 2020 Running Ubuntu 16.04 with kernel 5.02 on the V3s board name "MahanPI-B" All devices like LCD , Ethernet , Audio and Camera work fine. 0 Quote Link to comment Share on other sites More sharing options...
mehmeh küçük Posted March 11, 2020 Share Posted March 11, 2020 i have been bought the Lichee Pi Zero Second Generation for 3 week. i can't find image. i downloaded [IMAGE] - lichee_zero_test_Debian_LXDE.tar.bz2 to "https://www.licheepizero.us/ " but it didn't work. Can you share a working image file with me. 0 Quote Link to comment Share on other sites More sharing options...
guidol Posted March 12, 2020 Share Posted March 12, 2020 On 3/11/2020 at 4:30 PM, mehmeh küçük said: Can you share a working image file with me. at this time I couldnt give my kernel 4.14 image away, because its only a dd-backup of my running system with all my passwords and configuration You also shouldnt use a image with LXDE, because the memory is already very low for a non X-System. With only SSH-support and some additionally Swap-Spacethe system doesnt run that bad. You can try to use a minimal-image from the URL you downloaded the LXDE version and update to a more full system (apt install some utilities). The zImage kernel 4.12 through 4.14 you could find at my Google-Drive:https://drive.google.com/open?id=1X7y0XIC8TAj3R7Ag4iUu1f4rT77RdzPL 0 Quote Link to comment Share on other sites More sharing options...
NorbertM Posted July 13, 2020 Share Posted July 13, 2020 Hello guys, I made some changes on my licheepi, for example add battery to the RTC-VCC. The clock is keep the date-time when i powered off the device, but dont ticking: When i power up the lichee, the time is starting ticking. Do you have any suggestion to switch on the 32Khz quartz? Best Regards Norbert 0 Quote Link to comment Share on other sites More sharing options...
ciprian28 Posted August 29, 2020 Share Posted August 29, 2020 Hello. Can someone help me connect a 5inch 480x854 display. I did u-boot with standard timings of 800x480 and with "x: 480, y: 854, depth: 18, pclk_khz: 32800, le: 12, ri: 38, up: 4, lo: 18, hs: 12, vs : 8, sync: 3, vmode: 0 " (kernel config with simple panel). No one works. I am attaching the files : dtbs and .config from the u-boot builder. sun8i-v3s-licheepi-zero.dts .config 0 Quote Link to comment Share on other sites More sharing options...
Kot Posted September 6, 2020 Share Posted September 6, 2020 Hi! I want to add R8723BS Wi-Fi support, so I have downloaded the latest Linux sources here and built it with default settings. It looks like Wi-Fi is OK (LED is blinking), but there is no keyboard anymore - when I connect a USB keyboard, I have no message and I'm not able to enter any text. HID support is enabled in menuconfig. I suppose, I didn't enable neccessary options in menuconfig. Please help to find out the reason. Many thanks for help! With regards, Maksim 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.