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
ftg has quit [Read error: Connection reset by peer]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
colinsane has quit [Ping timeout: 480 seconds]
colinsane has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit []
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
<wens> MoeIcenowy: I resent your "thermal/of: support thermal zones w/o trips subnode" patch
<MoeIcenowy> wens: I saw it
<MoeIcenowy> in fact I initially did it for kukui
<MoeIcenowy> although I know it's also a problem on a64
<MoeIcenowy> (maybe no longer a problem on a64)
<MoeIcenowy> okay gpu thermal zone on a64 still has no trips
<MoeIcenowy> (for kukui, I have a kodama at home
<wens> I see
digetx has quit [Ping timeout: 480 seconds]
<macromorgan> apritzel: I keep meaning to go back to that (the NTC Chip... I actually built a Debian Buster image for it with a mainline kernel). Problem is I get new devices all the time and use my spare time to try and support them too...
<macromorgan> I do have a full patch series to support slc-mode in U-boot that I never got upstreamed, that's really the last missing piece to full mainline support across the board for NAND booting on the NTC Chip
<macromorgan> yeah the raw NAND situation is kind of crappy though. Luckily being SLC that should be easier to support
wingrime-ww has quit [Quit: WeeChat 4.3.5]
<macromorgan> Hypfer: So I'm dusting off a very old portion of my brain, but it looks like the datasheet for that NAND is here: https://www.skyhighmemory.com/download/ONFI_S34ML01G3_02_Page_2KB_002-19206.pdf
<macromorgan> suggests it's ONFI compatible which I think means the parameters can be auto detected. Is mainline Linux able to see the NAND when you light up the controller?
<macromorgan> here's me adding support for it in the NTC Chip: https://github.com/macromorgan/chip-debroot/blob/main/devicetree/sun5i-r8-chip.dts#L205
<macromorgan> for you it should work just fine since it's SLC, but if it was MLC you'd need to jump through a whole host of hoops
<macromorgan> you still can't "format" the NAND so much as you can create a UBIFS filesystem for it and apply it, it's way different than simply using a block device
dsimic is now known as Guest2585
dsimic has joined #linux-sunxi
Guest2585 has quit [Ping timeout: 480 seconds]
digetx has joined #linux-sunxi
ftg has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<apritzel> macromorgan: ah, many thanks for the info! And yeah, it looks like Hypfer's particular chip is actually SLC (how rare these days, on cheap AW devices!)
<apritzel> one problem at hand is now that we don't support the NAND controller for anything >= H3 (I think). I have no idea how close the modern IP is to the old ones, but that probs needs some lines in the driver
<macromorgan> no problemo. One of these days I swear I'll finish the job on the CHIP
<macromorgan> I don't remember the old driver being all too hard, assuming the IP is still similar it shouldn't be too rough. If I recall DMA used to give me fits but that's about it
<apritzel> macromorgan: it seems like Anbernic keeps you busy by releasing tiny variations of their consoles ;-)
<macromorgan> this past week I've been trying to push out a charger driver for a rockchip board, but yeah working on Anbernic stuff keeps me swampped
<macromorgan> I'm working on one of the very few non-Anbernic devices now... unfortunately I think the guy may have "took the money and run" so to speak, but I still said I'd do mainline and there are at least a few boards in the wild.
<macromorgan> I'm also waiting for some additional comments to pour in on the U-Boot and AXP717 drivers, then I can resubmit them with additional fixes.
<macromorgan> I may need to modify the U-Boot axp_spl driver slightly... for my use case I need to make sure the cpusldo regulator is on and the dcdc4 regulator is off, and it's not enough to leave that to chance.
<macromorgan> this is for board auto detection, which will come later
<apritzel> macromorgan: I have your H700 DRAM series high on my review list, maybe this weekend ...
<macromorgan> there were a few comments I needed to address. I don't suppose you want to review assuming those comments make it into the next revision?
<macromorgan> otherwise I can try to resubmit early next week
<MoeIcenowy> apritzel: well technically I think small SLC is sometimes preferred by some HW vendor
<MoeIcenowy> e.g. some Japan one with name starts with N and ends with o
<apritzel> macromorgan: I saw those comments, and they made sense to me, but I can happily do the review of the rest, and would assume those get fixed, given you agree.
<macromorgan> I do
<macromorgan> assuming they test out okay... if they don't I'll respond back as such
<apritzel> macromorgan: so early next week for a re-submit, with or without my comments ;-)
<apritzel> I wanted to test them on a bunch of H616 boards as well
<apritzel> MoeIcenowy: I was under the impression that SLC these days has just a small niche in reliability, and where cost is not so much a problem?
<apritzel> MoeIcenowy: aka: outside of Allwinner :-D
<apritzel> but maybe it's a different situation for small chips
<MoeIcenowy> ah yes
<MoeIcenowy> but I think most vendors that uses SLC have switched to SPI NAND
<apritzel> indeed! Hence I am surprised to find an SLC NAND on some rather uninspired new-ish device (Hypfer: robot vacuum?)
apritzel has quit [Ping timeout: 480 seconds]
flyback has quit []
flyback has joined #linux-sunxi
colinsane has quit []
colinsane has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.4, revision: 5.2.4+git-7597-13a6fc319, build type: debug, sources date: 20160102, built on: 2024-07-30 20:22:07 UTC 5.2.4+git-7597-]
KREYREN_oftc has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]