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]
vagrantc has quit [Quit: leaving]
chewitt has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
mripard has quit [Remote host closed the connection]
mripard has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
<pnill> Here's a better question, does anyone know if in the BSP u-boot 2014 has broken serial code? I saw somewhere on the wiki that some later version of u-boot mainline fixes serial for this specific chip (R40/A40i)
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
megi1 has joined #linux-sunxi
megi has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
Danct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
Daaanct12 is now known as Danct12
Danct12 has quit [Quit: Quitting]
Danct12 has joined #linux-sunxi
<pnill> So after sitting here for hours upon hours, I can confirm that based on the sys_config.fex and the data sheet that pin configurations and the "Mux" appear to be correct as far as the function of the port, but I still can't seem to get UART to function I'm wondering if there's something that's supposed to happen prior that's not like a pull on another pin or something.
<pnill> Right now I'm just recompiling fes1 from bsp spl within the u-boot setup and launching it, but not getting any serial output.
<pnill> I also don't understand how the pins translate from PB23/PB22 to what I'm seeing in the header of the binary.
<pnill> Mapping out the data to normal_gpio struct this is what I'm seeing.
<pnill> 2 makes sense I suppose if B -1 = 2
<pnill> but I don't know where 8 comes from in regards to 23
<pnill> for port_num
<pnill> mul_sel being 4 also confuses me because according to the datasheet it should be 2 to be uart0, and in the sys_config.fex it is set to 2
<pnill> pull,drv_level,data I don't know anything about.
<gamiee> pnill: so, the UART works only in kernel, not in u-boot, right ?
ftg has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit []
<apritzel> jernej: do you have any other H6 TV boxes aside from the Tanix TX6 (mini)?
<apritzel> I opened up my "T95max" and found a raw NAND flash inside (not eMMC)
<jernej> no, why?
<apritzel> I was hoping the days of raw NAND flash were gone ... :-(
<jernej> I'm actually looking where to get TX6 mini
<apritzel> the mini is the TX6 with an XR819 instead of RTL wifi?
<apritzel> my T95max at least has an XR819, so no Bluetooth
<jernej> there are several differences, you named one
<jernej> another is one USB less (but I couldn't figure which), less RAM, less eMMC storage
<jernej> but with addition of analogue audio and CVBS
<apritzel> oh, I see
<jernej> there is also Beelink GS1 (supported by mainline), but it also has eMMC
<jernej> although someone on LibreELEC forum asked how to install LE on some random H6 board (TV box?) which has nand
<jernej> so I know they exist...
JohnDoe_71Rus has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
sunshavi_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<montjoie> libv: thanks
<pnill> gamiee: I don't have a kernel loaded yet, mainline u-boot UART works.
<pnill> BSP u-boot (Which I want to use due to nand) does not work.
<pnill> and the port configuration that's in the header is as above, and I tried to map it out to that "normal_gpio" structure
<pnill> but I don't think the port configuration is correct based on that despite it being correct in the sys_config.fex
<pnill> based on data sheet it should be PB22/PB23 function/multiplex 2 for UART0
<pnill> "port" is 2 which makes sense B - 1 = 2
<pnill> but then port_num is assigned to 8
<pnill> and mul_sel seems to be 4
<pnill> That's what I'm looking at just decompiled it.
<pnill> where 80BC is where the header lives based on the reference to it
<pnill> so I guess port_num should be 23/22 not 8/9
<pnill> PB22/PB23 and function 2
<pnill> I guess I'm looking for an answer to two things, one.... is "8" correct instead of 22/23 or should it actually be 22/23 there in "port_num"
<pnill> and also anyone know why the sys_config.fex may get changed to 8 instead of 23/22 if it is supposed to be 22/23.
apritzel has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
Luke-Jr has quit [Ping timeout: 480 seconds]