ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
mripard has quit [Read error: Connection reset by peer]
mripard has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
macromorgan has quit [Quit: Leaving]
pnill_ has joined #linux-sunxi
mehdix has quit []
mehdix has joined #linux-sunxi
pnill has quit []
aggi has quit [Remote host closed the connection]
cnxsoft1 has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
paulk has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
paulk has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
ftg has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
prefixcactus has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
Daaanct12 is now known as Danct12
JohnDoe_71Rus has quit []
evgeny_boger has joined #linux-sunxi
macromorgan has joined #linux-sunxi
<apritzel> for F1C100s friends: what boards are out there and (easily) available? Just the LicheePi Nano?
<apritzel> and is there some overview of the variants? Like F1C100 vs. F1C100s and all those F1Cx00 versions ...
km2 has joined #linux-sunxi
km2 has quit []
<macromorgan> I use a lichee pi nano
<macromorgan> now if only I could design a decent 3d printed case for it...
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit []
aggi has quit [Remote host closed the connection]
paulk has quit [Ping timeout: 480 seconds]
hallyn has quit [Quit: leaving]
aggi has joined #linux-sunxi
hallyn has joined #linux-sunxi
JohnDoe_71Rus has quit []
paulk has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
<apritzel> macromorgan: I see you have different priorities than me ;-)
<apritzel> macromorgan: do you use FEL with it? xfel, possibly?
<macromorgan> FEL, I forget exactly how but I short one pin to ground as I'm powering it on
<macromorgan> I'm experimenting with mainline U-Boot currently
<macromorgan> I found an issue whereby if you try to use the LCD screen and don't edit the maximum framebuffer size down from the default it tries to allocate 32MB of RAM for the framebuffer. Of course the device has 32MB of RAM total, so U-Boot gets 0MB and promptly fails to proceed further.
<macromorgan> I change it from 3840x2160 to 480x272 (to match the screen I have)... works fine when I do that
<macromorgan> I only bought a Lichee Nano because I thought about buying a TrimUI retro gaming device. I figured if I could get mainline Linux working fine on the Nano I could get it working on the TrimUI.
<apritzel> I see the problem, but first I am curious about the FEL booting part
<macromorgan> Still never bothered to buy one as my main priorities are on the NTC CHIP mainline support and the Odroid Go 2 mainline support
<apritzel> macromorgan: do you use some patches sunxi-fel or xfel on the host side
<macromorgan> ohh, yeah, I use a patched sunxi-tools
<macromorgan> hang on, let me find the link
<apritzel> Icenowy's branch from 2018ish, by any chance?
<macromorgan> https://github.com/Icenowy/sunxi-tools.git - the f1c100s branch
<macromorgan> yes
apritzel_ has quit [Ping timeout: 480 seconds]
<apritzel> right, so I took that and simplified that, can I send you something later and you try that?
<apritzel> if that works, I would push that upstream
<apritzel> and for U-Boot: what branch do you use exactly? Again what Icenowy posted last year?
<macromorgan> U-boot... hmm... that's a bit odd
<macromorgan> I'm using the 2022.01 tag as a base
<macromorgan> and I use these patches on top which I rebased to the 2022.01 branch myself: https://patchwork.ozlabs.org/project/uboot/list/?series=255112
<apritzel> right, that's Icenowy's work
<macromorgan> I use that instead of the Icenowy patches because the Icenowy series didn't have the SPI controller
<macromorgan> ohh, okay
<macromorgan> I haven't got SPI flash working perfectly yet though
<apritzel> yeah, that's why I am asking
<macromorgan> I've used both series though and they both boot from FEL at least
<apritzel> OK, cool, I am looking into reviewing this, but cannot test it, so wanted to have some third party confirmation, because I am considering merging this
<macromorgan> okay, let me know which one you want to test
<macromorgan> the shorter/newer branch from Icenowy (https://patchwork.ozlabs.org/project/uboot/list/?series=279330) I don't think needs to be rebased and I already tested it
<macromorgan> I can test it again today on master if you're ready to pull?
<apritzel> leaning more towards what Jesse sent, the shorter and more recent version
<macromorgan> okay yeah
<macromorgan> that one didn't need to be rebased as of 2 weeks ago I think
<apritzel> at the end it's Icenowy's work anyway, in both series
<macromorgan> right
<macromorgan> let me pull the newer series into master and make sure it works, I can give you screenshots or whatever you need for your test results, just let me know.
<macromorgan> and you can add my tested-by
<apritzel> macromorgan: no screenshots needed, I believe you ;-)
<apritzel> macromorgan: if you can reply on the list, for instance to the cover letter, with a Tested-by:, that would be great
<macromorgan> this is going to sound terrible... but how do I reply to a message I wasn't originally on?
<jernej> macromorgan: download mbox version of patch and import it to your e-mail client, then just reply as you normally would
<apritzel> macromorgan: go to lore.kernel.org, pick the U-Boot mailing list, search for the patch subject, this will give you: https://lore.kernel.org/u-boot/20220105003508.1143140-1-Mr.Bossman075@gmail.com/
<apritzel> if you scroll down, it gives you reply instructions
<apritzel> not for the faint of heart, and you might not want to do it for 100 emails, but for those one-off replies it's good enough
<apritzel> (and that works for basically every mailing list archived by lore)
<macromorgan> okay, just tested patch series and it works... I'm going to make distclean and try the spi flash version too
<macromorgan> the licheepi_nano_spiflash_defconfig is incorrect
<macromorgan> tested-by added, and added notes that the licheepi_nano_spiflash_defconfig probably needs to be removed for now
<macromorgan> everything else seems fine though
<apritzel> macromorgan: many thanks! I will have a closer look later
<macromorgan> since the driver mentioned in the spiflash defconfig doesn't exist, I'm assuming it will have to come after some other stuff gets mainlined
<macromorgan> when this hits mainline I'm going to add my own patch to it to make sure the video works... specifically if the arch is sunvi we should set the maximum framebuffer to 800x480 (which is the largest screen supported by the Lichee Pi Nano)
ftg has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has quit []
anarsoul has quit [Read error: Connection reset by peer]
anarsoul has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel> macromorgan: this needs some more general solution, I guess. I think this 32MB reservation raised eyebrows already, but I see how it's a showstopper for that poor little fella ...
<macromorgan> meanwhile I'm trying to find something that isn't buildroot to run on the device
<macromorgan> so far no luck, as 32MB of RAM and about 15.5MB of storage is a bit of a dealbreaker :-)
<macromorgan> also had to increase the malloc size just to allow me to use a compressed bmp for a splash screen in U-Boot
<macromorgan> CONFIG_SYS_MALLOC_LEN=0x120000 might be too small?
<macromorgan> this thing really is an excersize in "how low can you go"
hlauer has joined #linux-sunxi
paulk1 has joined #linux-sunxi
<apritzel> macromorgan: but this SoC and board has MMC (uSD), right? Any idea why the (Linux) DT doesn't describe that?
paulk has quit [Ping timeout: 480 seconds]
<macromorgan> yes, it does (have MMC)
<macromorgan> let me check upstream real quick
<macromorgan> looks like upstream Linux has everything it needs for the MMC to work, except the devicetree bindings (it uses the same config in U-Boot at least as the sun4i_a10 mmc driver)
<apritzel> yeah, looks like nothing has happened on the DTs for three years now
indy has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
bantu has quit [Quit: bantu]
bantu has joined #linux-sunxi
<apritzel> macromorgan: if you could try this sunxi-tools branch for F1C100s? https://github.com/apritzel/sunxi-tools/commits/f1c100
<macromorgan> once I get SPI booting finished I'll add the sdmmc to the device tree (if it hasn't already occured by then)
<macromorgan> I'll test this probably later tonight or tomorrow
<apritzel> macromorgan: thanks!