Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
<apritzel> liushuyu: anyway: if the pi_plus.dts does not work for you, you should investigate that and propose fixes
<apritzel> liushuyu: you can check the differences between pi_plus and pi_plus2e, if the latter works in your case
<liushuyu> apritzel: Yes, that's the case though
<liushuyu> I don't know if I have the ability to fix the problem though
<apritzel> I guess you will never know unless you try :-D
<liushuyu> apritzel: Ok, I'll give a try then
<apritzel> that's the attitude!
Andy-D has joined #linux-sunxi
premoboss has joined #linux-sunxi
vishnup has joined #linux-sunxi
rookieone has quit [Ping timeout: 240 seconds]
liushuyu011 has joined #linux-sunxi
liushuyu011 has quit [Ping timeout: 240 seconds]
rookieone has joined #linux-sunxi
liushuyu011 has joined #linux-sunxi
liushuyu011 has quit [Ping timeout: 240 seconds]
liushuyu011 has joined #linux-sunxi
liushuyu011 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
rookieone has quit [Ping timeout: 240 seconds]
vishnup has quit [Ping timeout: 260 seconds]
vishnup has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
rookieone has joined #linux-sunxi
apritzel has quit [Quit: Leaving.]
BenG83 has joined #linux-sunxi
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
egbert has quit [Disconnected by services]
Pepe has joined #linux-sunxi
egbert has joined #linux-sunxi
liushuyu011 has joined #linux-sunxi
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Andy-D has quit [Ping timeout: 248 seconds]
liushuyu011 has left #linux-sunxi ["AndroIRC"]
liushuyu011 has joined #linux-sunxi
premoboss has quit [Ping timeout: 256 seconds]
ninolein_ has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
Ntemis has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
liushuyu011 has quit [Ping timeout: 256 seconds]
liushuyu011 has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
liushuyu011 has quit [Read error: Connection reset by peer]
bugzc has joined #linux-sunxi
TRS-80 has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
pg12 has quit [Ping timeout: 258 seconds]
pg12 has joined #linux-sunxi
victhor has quit [Ping timeout: 240 seconds]
<TRS-80> Anyone in here know what Armbian use to get temps on login screen?
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
liushuyu has quit [Quit: Konversation terminated!]
<MoeIcenowy> jernej: I'm trying to merge sunxi_display2.c into sunxi_display.c
terra854 has joined #linux-sunxi
pg12 has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Remote host closed the connection]
pg12 has joined #linux-sunxi
bugzc has quit [Ping timeout: 245 seconds]
cnxsoft has joined #linux-sunxi
bugzc has joined #linux-sunxi
[7] has quit [Ping timeout: 256 seconds]
TheSeven has joined #linux-sunxi
vishnup has quit [Ping timeout: 248 seconds]
f0xx has joined #linux-sunxi
<wens> hmm, i think it might be better to split it into multiple files?
<MoeIcenowy> wens: you mean sunxi_de.c, sunxi_de2.c, sunxi_hdmi.c, sunxi_dwc_hdmi.c, sunxi_lcdc.c, sunxi_tve.c ?
<wens> something like that, yeah
dave0x6d has quit [Quit: Connection closed for inactivity]
TRS-80 has quit [Quit: Page closed]
vishnup has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft1 is now known as cnxsoft
Amit_T has joined #linux-sunxi
Amit_T has quit [Client Quit]
cnxsoft has quit [Read error: Connection reset by peer]
rookieone has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
rookieone has joined #linux-sunxi
Herth has joined #linux-sunxi
<Herth> Helñp
<Herth> Hello
Herth has quit [Client Quit]
Mr__Anderson has joined #linux-sunxi
IgorPec has joined #linux-sunxi
rookieone has quit [Ping timeout: 240 seconds]
<jernej> MoeIcenowy: I already split out dwc_hdmi.c from rockchip hdmi
<jernej> and it should be easy to reuse it for h3
<jernej> this one of the things mripard wants it, because if it is not done, there would be 3 dwc hdmi implementations, which is insame
<jernej> *insane
<jernej> also I want to implement it in the way to be driver model ready, or at least partially use it
rookieone has joined #linux-sunxi
<jernej> MoeIcenowy: I will also try to make old version to work on A83T board. I guess it should be almost the same as on A64
<jernej> MoeIcenowy: I will soon resume work on display code for U-Boot, but it will unfortunatelly take some time
leviathan_ has joined #linux-sunxi
AneoX__ has quit [Ping timeout: 255 seconds]
AneoX__ has joined #linux-sunxi
nekomona has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
<MoeIcenowy> jernej: but now I'm WIP on V3s LCD support, which uses DE2's composer code
<jernej> MoeIcenowy: what do you suggest? The best way would be to make driver model drivers, but for that we don't have proper nodes in DT
<MoeIcenowy> yes...
<MoeIcenowy> or use manual probed driver model?
<jernej> I wonder if mripard concurs with Simon Glass that for starters we just put empty nodes with only compatible strings
<jernej> I strongly consider this
<jernej> MoeIcenowy: can you give me an example? From what I saw, driver model needs compatible in DT
<MoeIcenowy> I'm also not familiar with U-Boot...
premoboss has joined #linux-sunxi
Amit_T has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
nekomona has quit [Remote host closed the connection]
nekomona has joined #linux-sunxi
LargePrime has quit [Ping timeout: 256 seconds]
bugzc has quit [Ping timeout: 245 seconds]
jernej has quit [Quit: Konversation terminated!]
rookieone has quit [Ping timeout: 240 seconds]
rookieone has joined #linux-sunxi
Andy-D has joined #linux-sunxi
netlynx has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
Keziolio has quit [Ping timeout: 256 seconds]
BenG83 has quit [Ping timeout: 245 seconds]
nekomona has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
jernej has joined #linux-sunxi
apritzel has joined #linux-sunxi
BenG83 has quit [Read error: Connection reset by peer]
BenG83 has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
LargePrime has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
dh1tw has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
IgorPec has joined #linux-sunxi
Amit_T has quit [Ping timeout: 256 seconds]
paulk-collins has quit [Remote host closed the connection]
Andy-D has quit [Remote host closed the connection]
BenG83 has quit [Quit: Leaving]
vishnup has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
terra854 has joined #linux-sunxi
crzyp3ck has joined #linux-sunxi
<crzyp3ck> hello all
<crzyp3ck> I have a JXD s9100 tablet and I bought a uart adaptor for it. I took it apart and the board was F900_mainboard_v1.0.0.
<crzyp3ck> the problem is I don't know how to attach it to the adaptor. where are the uart pin outs?
<crzyp3ck> the adapter is pl2303 usb adopter (ttl)
<crzyp3ck> any help?
vishnup has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
premoboss has quit [Ping timeout: 240 seconds]
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein1 has joined #linux-sunxi
<montjoie> apritzel: and anybodey with the mmc timeout, linux-next work on opipc so 4.10 is missing a patch
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 245 seconds]
cnxsoft has quit [Quit: cnxsoft]
apritzel has quit [Ping timeout: 256 seconds]
crzyp3ck has quit [Ping timeout: 245 seconds]
|Jeroen| has joined #linux-sunxi
Amit_T has joined #linux-sunxi
<montjoie> ooooh just added internal phy clk/rsr and boum, mmc timeout
victhor has joined #linux-sunxi
crzyp3ck has joined #linux-sunxi
Andy-D has joined #linux-sunxi
<montjoie> so it is why all people with gigabit ethernet didnt see this issue
crzyp3ck has quit [Ping timeout: 258 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
MoeIcenowy is now known as KosakaHonoka
crzyp3ck has joined #linux-sunxi
IgorPec has joined #linux-sunxi
KosakaHonoka is now known as Kosaka-Honoka
vishnu_ has joined #linux-sunxi
fkluknav has joined #linux-sunxi
vishnup has quit [Read error: Connection reset by peer]
yann-kaelig has joined #linux-sunxi
jernej has quit [Ping timeout: 258 seconds]
premoboss has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
crzyp3ck has quit [Ping timeout: 260 seconds]
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
Keziolio has joined #linux-sunxi
pg12 has quit [Ping timeout: 240 seconds]
pg12 has joined #linux-sunxi
Pepe has joined #linux-sunxi
crzyp3ck has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 240 seconds]
apritzel has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
crzyp3ck has quit [Ping timeout: 240 seconds]
jernej has joined #linux-sunxi
premoboss has quit [Ping timeout: 245 seconds]
dave0x6d has joined #linux-sunxi
jernej has quit [Ping timeout: 245 seconds]
Andy-D has quit [Ping timeout: 256 seconds]
rookieone has quit [Ping timeout: 245 seconds]
scelestic has quit [Read error: Connection reset by peer]
rookieone has joined #linux-sunxi
premoboss has joined #linux-sunxi
jernej has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 240 seconds]
scelestic has joined #linux-sunxi
interrobangd has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
utente_ has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
premoboss has quit [Ping timeout: 255 seconds]
iamfrankenstein has joined #linux-sunxi
vagrantc has joined #linux-sunxi
vagrantc has quit [Changing host]
vagrantc has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 258 seconds]
utente__ has joined #linux-sunxi
utente_ has quit [Ping timeout: 248 seconds]
leviathan_ has quit [Remote host closed the connection]
rookieone has quit [Ping timeout: 240 seconds]
vishnu_ has joined #linux-sunxi
Amit_T has quit [Quit: ChatZilla 0.9.93 [Firefox 46.0.1/20160511224619]]
rookieone has joined #linux-sunxi
fl_0 has quit [Ping timeout: 252 seconds]
fl_0 has joined #linux-sunxi
bonbons has joined #linux-sunxi
apritzel has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 258 seconds]
crzyp3ck has joined #linux-sunxi
<crzyp3ck> hello
<crzyp3ck> I connected my tablet via uart<_>usb to the pc
<crzyp3ck> but minicon won't give me a cmd
terra854 has quit [Quit: Connection closed for inactivity]
<crzyp3ck> it is just this
Rondom has quit [Remote host closed the connection]
<crzyp3ck> Welcome to minicom 2.7
<crzyp3ck> Port /dev/ttyUSB0, 22:12:16
<crzyp3ck> Compiled on Feb 7 2016, 13:37:27.
<crzyp3ck> OPTIONS: I18n
<crzyp3ck> Press CTRL-A Z for help on special keys
<crzyp3ck> ? :-?
apritzel has quit [Ping timeout: 252 seconds]
Rondom has joined #linux-sunxi
yann-kaelig has quit [Ping timeout: 256 seconds]
<utente__> crzyp3ck, it means the usb of tablet you are connected to, is not a debug port, or at least it is not set up to give you prompt and login.
<utente__> usb/uart
<crzyp3ck> utente__: i found a written rx tx on the board
avph has quit [Ping timeout: 240 seconds]
<KotCzarny> crzyp3ck: use: screen /dev/ttyUSB1 115200 maybe?
<utente__> crzyp3ck, that it is necessary, but is not enought.
<utente__> did you connected also GND?
<utente__> crzyp3ck, on my nanoneopi there are 3 usrt, but only one is configured to allow me login. the same is for your tablet, i suppose.
<crzyp3ck> utente__: at that location is another pad with no name. but it won't hold tin on itself so I did attach gnd somewhere on the board.
<utente__> so you have GND, TX and RX. under electrical point of view you are ok, but you must be sure that connection is configured into tablet softwar eto be debug port. electrical connection is not enought.
<crzyp3ck> utente__: if I send a photo would it help. for this job do I need to reattach speaker and lcd to the main-board too?
<utente__> send fot, but the matter is on confguration of the software of the tablet: if that uar is NOT set to b4e debug port, you cannot use it to log in.
<utente__> send fot=send photo
<utente__> maybe board check lcd/audio is missed and dont boot... not probable but possible.
avph has joined #linux-sunxi
<BenG83> did you cross RX/TX ?
<utente__> BenG83, good question :.)
<rellla> crzyp3ck: you really should work through http://linux-sunxi.org/New_Device_howto :)
<BenG83> also do a loopback test of your adapter
<rellla> it's where the story begins ...
<utente__> i own nanopineo (H3) and orangepizero (H2). I would like to boot from SPI eeprom (final goal is to move a minimal OS all onto eeprom SPI and remove uSD).
<utente__> i ask if someone is alreading work on this goal to work togheter.
<vagrantc> yay, linux 4.10.0-rc3-next-20170113 works with usb on pine64! no mmc, no ethernet, but that's good enough for me for now...
<willmore> utente__, there are several people here working on that. Stick around and they'll chime in before too long. I am following the issue and may be available to help test. Currently waiting for chips. I have an OpiZ, Opi1, and OpiPC2.
<utente__> willmore, ok thanks. i still miss chips, but at least i start to look arount for info.
utente_ has joined #linux-sunxi
<utente_> rellla, in http://linux-sunxi.org/New_Device_howto what NDH stay for?
utente__ has quit [Ping timeout: 255 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
<utente_> willmore, what chip you buy? i think every kind of 16MB spi eeprom is ggod or shall i buy a specific model?
apritzel has joined #linux-sunxi
<willmore> utente_, I have some 16Mb and I have some 128Mb on order (2MB and 16MB). The former are good for uboot+DT. The latter should hold a uboot+DT+kernel+small root.
<willmore> The former should be good for USB booting or Net booting. The latter may be completely self contained.
<willmore> IIRC, the issue of using the SPI NOR flash as a filesystem is unsolved. At least as a *writeable* filesystem.
<utente_> willmore, i wan final solution, all onto eeprom (boot+kernel+fs)
<willmore> Also, there are performance issues with the Allwinner SPI driver--IIRC, it can't handle transactions >64 bytes which is pretty poor.
<willmore> utente_, then you want the 128Mb chips.
<willmore> And you're going to need to look into how to make tiny root filesystems. You can probably get info on that over at the OpenWRT site.
<apritzel> utente_: SPI flash support for the Opi0 has just been merged into the latest U-Boot tree (sunxi/master)
<willmore> apritzel, are you familiar with the status of the SPI driver?
<willmore> That might be something I can help work on.
<utente_> i was able do do all into 1.44MB floppy :-)
<willmore> utente_, same here, but that was in 1992.
<apritzel> not really, but so far access from Linux wasn't necessary
<utente_> i was post 2005. kernel 2.4.32 on x86
<willmore> apritzel, I'm thinking of for the 128Mb chips which will host a filesystem.
<apritzel> willmore: but I think you don't want a real FS on that
<apritzel> more like an initrd
<willmore> apritzel, so a cramfs or similar?
<willmore> RO or maybe an initrd type that just expands into ram?
<apritzel> yes
<utente_> to me is enough to boot and have some utilities on filesystems, but it must be run into ram, not on eeprom
<willmore> gotcha.
<willmore> That's a lot easier.
Net147 has quit [Ping timeout: 245 seconds]
<apritzel> 16MB are pretty tight anyway
<utente_> spi bust be be thje boot device, but no write on, read only.
<apritzel> utente_: yes, that works fine here already
<willmore> Okay, then RO it is. a compressed FS that expands into RAM and runs from there would be the easiest thing anyway.
<utente_> and id update is needed, i can run some utility thsat download rge new firmware and flash it on spi.
<willmore> Not even sure you need to do anything for that. That's pretty much built into the kernel these days, isn't it?
<willmore> utente_, yep.
<willmore> You could compose it locally if you needed to. Once the SPI is read and the filesystem is expanded into RAM, the SPI is safe to be rewritten.
<apritzel> some weeks ago I did that on a Pine64: put SPL, U-Boot, DT, kernel and initrd on the SPI flash
<utente_> i run armbian and it is fine, but for some application, it is a overkill.
<willmore> You may want to look into a failsafe/recovery system in the uboot on the SPI, though.
Net147 has joined #linux-sunxi
<apritzel> and yes, once this is booted, the SPI flash is off the hook, you can reflash it or ignore it
<utente_> at the moment i am still working on uSD, but in future i will like to abandon it and move to spi.
* willmore still thinks the SPI driver needs some love.
* willmore wants to use it for a display and that could use larger transactions.
<utente_> afaik NOR spi is slow to be written but fast to be reade, right?
<willmore> utente_, yes.
<utente_> good, so i can co with nor spi. i dont care slow reflash, but i need fast boot.
<willmore> with QSPI at max clocks, a little SPI chip can do 50MB/s
<willmore> With SPI at clocks the allwinner chips support, you're looking more at a few MB/s.
<willmore> But, you only need to read 16MB, so...
<willmore> If DMA worked and long transfers worked and the clock could get up to 32MHz, then 4MB/s--4 seconds to read the whole chip.
<utente_> i think i will need less than 16MB
<willmore> utente_, the less the faster. :)
<utente_> :D
apritzel has quit [Ping timeout: 240 seconds]
<willmore> I don't know the limits of the allwinner SPI, so I can't make any educated inferences.
<willmore> Anyone know the allwinner API driver maintainer? If there is one...
apritzel has joined #linux-sunxi
* willmore did a lot of work with serial flash chips back in the mid 90's.
<willmore> 1Kb was a lot of data back then.
<apritzel> I think it's worth to look at OpenWRT, they are pretty good at utilising small flash memories
<utente_> alterative is buildroot,
<utente_> but their spport to H3/H2 boards still low/missed.
<willmore> Still, their build system might be helpful.
<utente_> we shoukld wait for next release of buildroot next months.
<willmore> utente_, might take that long to get your chips. :)
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<utente_> order from RS can arrive in 24-48hours. if you are in hurry and can pay with bllod of sons :)
crzyp3ck has quit [Ping timeout: 240 seconds]
<utente_> alternative is to work on armbian and srink down the distro, eliminating all is not strictly needed.
<utente_> i get crazy to see there are some undreds of packages.
* willmore ordered his chips from China. It may take more than 24-48 hours. Also, tomorrow is a holiday, so no mail then anyway.
apritzel has quit [Ping timeout: 248 seconds]
netlynx has quit [Quit: Ex-Chat]
crzyp3ck has joined #linux-sunxi
scream has joined #linux-sunxi
crzyp3ck has quit [Ping timeout: 255 seconds]
interrobangd has quit [Read error: Connection reset by peer]
crzyp3ck has joined #linux-sunxi
bugzc has joined #linux-sunxi
Valy_ has joined #linux-sunxi
f0xx has quit [Ping timeout: 240 seconds]
|Jeroen| has quit [Quit: dada]
dave0x6d has joined #linux-sunxi
Valy_ has quit [Quit: Page closed]
Mr__Anderson has quit [Remote host closed the connection]
utente_ has quit [Quit: Sto andando via]
Ntemis has joined #linux-sunxi
bugzc has quit [Ping timeout: 245 seconds]
LargePrime has quit [Ping timeout: 258 seconds]
<willmore> I'm looking at the datasheet for the serial flash chips and they support a 4 bit mode for command and data which looks very SD like. Does anyone have a good understanding of the SD/eMMC interface on the allwinner chips? I'd like to see if they're compatable.
<willmore> utente_, in case you read the logs of this channel, looks like the H5 SPI device claims to run at 100MHz. That could give 12.5MB/s under ideal condidtions--down hill and with the wind at your back. :)
<willmore> And, nope, looks like SD is different enough that it can't be use to speak QPI. :(
LargePrime has joined #linux-sunxi
<ssvb> willmore: Allwinner chips support dual SPI, but I have not really tried to enable it
<ssvb> this may require some trial and error experiments because the documentation is far from perfect
<ssvb> as for the maximum SPI clock speed, it worked without corruption up to ~20MHz with my 15cm jumper wires
<ssvb> the current SPI clock speed default is 6MHz (it is used by both the BROM and U-Boot SPL)
<ssvb> when we have the SPI NOR flash chip soldered on the PCB, the maximum reliable clock speed can be probably higher
<ssvb> but that's already a somewhat dangerous territory
<ssvb> I guess, the sunxi-fel tool could try to automatically run tests with different SPI clock speeds to measure what is the safe limit
fkluknav has joined #linux-sunxi
LargePrime has quit [Ping timeout: 255 seconds]
IgorPec has quit [Ping timeout: 245 seconds]
scream has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
<apritzel> willmore: my hint at OpenWRT was more like to copy their root file system layout
<apritzel> willmore: which does quite a good job with using very little flash, yet allowing to install packages and even have persistent directories
<apritzel> willmore: nothing magic, really, but a nice reference of how to arrange things
LargePrime has joined #linux-sunxi
jernej has quit [Quit: Konversation terminated!]
paulk-collins has quit [Quit: Leaving]
BenG83 has quit [Quit: Leaving]
Pepe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
BenG83 has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
cptG has joined #linux-sunxi
vishnup has joined #linux-sunxi
cptG_ has quit [Ping timeout: 240 seconds]
vishnup has quit [Ping timeout: 240 seconds]
vishnup has joined #linux-sunxi