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
aidin has joined #linux-sunxi
lurchi_ is now known as lurchi__
aidin has quit []
<smaeul> MoeIcenowy: I think L2 cache is handled by hardware. there's no code I can find in the (H5, at least) BROM that touches any CPUCFG registers
<smaeul> and bit 4 of C_CTRL_REG0, "0: L2 cache is reset by hardware", is the default
deep-book-gk_ has joined #linux-sunxi
deep-book-gk_ has quit [K-Lined]
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
<smaeul> there is one set of mysterious registers that are used, SUN50I_R_CPUCFG_BASE+0x0280 through SUN50I_R_CPUCFG_BASE+0x0288, but AFAICT they're only accessed on the eMMC boot path
<smaeul> if anyone has any idea what those are used for, I'd love to know
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
<MoeIcenowy> yes by reading A7 TRM I think for A7 the internal L2 cache is automatically managed
<MoeIcenowy> when L1 I/D caches are both enabled L2 is enabled
cnxsoft has joined #linux-sunxi
<wens> there is no way to disable L2 cache
<wens> there are only controls to reset it, which you should never do while the cores are active
<wens> the A15 has an additional "disable prefetch" switch
deep-book-gk_ has joined #linux-sunxi
deep-book-gk_ has left #linux-sunxi [#linux-sunxi]
Andy-D_ has quit [Ping timeout: 240 seconds]
popolon has quit [Quit: WeeChat 1.9]
deep-book-gk_ has joined #linux-sunxi
deep-book-gk_ has left #linux-sunxi [#linux-sunxi]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
nvz has quit [Ping timeout: 255 seconds]
nvz has joined #linux-sunxi
netlynx has joined #linux-sunxi
gzamboni has quit [Ping timeout: 260 seconds]
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
nvz has quit [Quit: leaving]
_whitelogger has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
fkluknav has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
jernej has joined #linux-sunxi
terra854 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
jernej has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
jernej has quit [Ping timeout: 260 seconds]
jernej has joined #linux-sunxi
jernej has quit [Ping timeout: 276 seconds]
LargePrime has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-sunxi
mripard_ has quit [Ping timeout: 248 seconds]
bbrezillon has quit [Ping timeout: 255 seconds]
bbrezillon has joined #linux-sunxi
mripard has joined #linux-sunxi
swiftgeek has quit [Read error: Connection reset by peer]
jstein_ has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
jstein_ is now known as jstein
reinforce has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
ganbold has quit [Ping timeout: 246 seconds]
ganbold has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec has quit [Client Quit]
IgorPec has joined #linux-sunxi
fkluknav has joined #linux-sunxi
rexxster has quit [Read error: Connection reset by peer]
cnxsoft has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
libv_ is now known as libv
yann-kaelig has joined #linux-sunxi
tlwoerner has quit [Quit: Leaving]
IgorPec has quit [Ping timeout: 260 seconds]
rtp_ has joined #linux-sunxi
rtp has quit [Quit: leaving]
rtp_ is now known as rtp
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has quit [Changing host]
IgorPec has joined #linux-sunxi
mzki has quit [Ping timeout: 240 seconds]
Andy-D_ has joined #linux-sunxi
mzki has joined #linux-sunxi
victhor has quit [Quit: Leaving]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
Andy-D_ has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
IgorPec3 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
IgorPec2 has quit [Ping timeout: 240 seconds]
LargePrime has quit [Quit: Leaving]
LargePrime has joined #linux-sunxi
jstein has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
juri_ has quit [Ping timeout: 248 seconds]
juri_ has joined #linux-sunxi
jstein_ has joined #linux-sunxi
<wens> crazy typhoon season, getting dizzy just sitting at the desk :(
jstein_ has quit [Ping timeout: 260 seconds]
SP7RT has joined #linux-sunxi
lurchi_ is now known as lurchi__
dev1990 has quit [Quit: Konversation terminated!]
rexxster has joined #linux-sunxi
diego71 has quit [Ping timeout: 246 seconds]
nOOb__ has joined #linux-sunxi
IgorPec3 has quit [Read error: No route to host]
LargePrime has quit [Ping timeout: 260 seconds]
nOOb__ has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
gzamboni has joined #linux-sunxi
Andy-D has joined #linux-sunxi
Poeticode has quit [Changing host]
Poeticode has joined #linux-sunxi
nvz has joined #linux-sunxi
jernej has joined #linux-sunxi
dev1990 has joined #linux-sunxi
leviathan_ has quit [Ping timeout: 260 seconds]
leviathan_ has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
egbert has quit [Ping timeout: 255 seconds]
nvz has quit [Quit: leaving]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7099-gca80ee628, build type: debug, sources date: 20160102, built on: 2017-03-12 14:49:35 UTC git-7099-gca80ee628 http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
pfeerick has quit [Ping timeout: 246 seconds]
jakllsch has joined #linux-sunxi
<jakllsch> what's the status of NAND on Cubietruck?
pfeerick has joined #linux-sunxi
<jakllsch> dare i try to put it into my dts?
IgorPec3 has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
egbert has joined #linux-sunxi
vagrantc has joined #linux-sunxi
[7] has quit [Ping timeout: 258 seconds]
marble_visions has joined #linux-sunxi
LargePrime has joined #linux-sunxi
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
marble_visions has quit [Client Quit]
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
scream has joined #linux-sunxi
marble_visions has joined #linux-sunxi
marble_visions has left #linux-sunxi [#linux-sunxi]
TheSeven has joined #linux-sunxi
marble_visions has joined #linux-sunxi
marble_visions has left #linux-sunxi [#linux-sunxi]
LargePrime has quit [Ping timeout: 260 seconds]
matthias_bgg has quit [Ping timeout: 268 seconds]
marble_visions has joined #linux-sunxi
<marble_visions> #join linux
<marble_visions> whops.
marble_visions has left #linux-sunxi [#linux-sunxi]
marble_visions has joined #linux-sunxi
marble_visions has left #linux-sunxi [#linux-sunxi]
marble_visions has joined #linux-sunxi
marble_visions has left #linux-sunxi [#linux-sunxi]
jstein has joined #linux-sunxi
marble_visions has joined #linux-sunxi
IgorPec4 has joined #linux-sunxi
IgorPec3 has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
marble_visions has left #linux-sunxi [#linux-sunxi]
marble_visions has joined #linux-sunxi
diego_ has joined #linux-sunxi
diego_ is now known as diego71
<jernej> mripard: wens: I found an issue with sunxi-ng clock driver for all clocks, which uses frac mode
<jernej> ccu_frac_helper_enable is never called
<jernej> but if I add this function, it still isn't enough, since M factor must be cleared to 0
<jernej> all user manuals require this, except the one for A31
<jernej> I also tested this with my H3 HDMI driver and clock doens't work if M is not 0
<jernej> fortunatelly, frac mode is supported only with NM and MULT clock (albeit MULT seems to be unused)
<jernej> so I was considering to clear M factor from ccu_nm_set_rate() function before frac mode is enabled
<jernej> what do you think? would be such patch acceptable?
marble_visions has left #linux-sunxi [#linux-sunxi]
<jernej> tecnically, there is another issue - ccu_frac_helper_set_rate() doesn't wait for lock
reinforce has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
kivutar has quit [Ping timeout: 255 seconds]
kivutar has joined #linux-sunxi
* Wizzup has lime2 with spi flash on the pcb, seems to work nicely!
leviathan_ has quit [Ping timeout: 260 seconds]
leviathan__ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7099-gca80ee628, build type: debug, sources date: 20160102, built on: 2017-03-12 14:49:35 UTC git-7099-gca80ee628 http://www.kvirc.net/]
leviathan_ has joined #linux-sunxi
leviathan__ has quit [Ping timeout: 276 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
chlorine has quit [Ping timeout: 240 seconds]
technix has joined #linux-sunxi
chlorine has joined #linux-sunxi
<technix> I cannot get U-Boot SPL to boot off USB. Each and every time I try to "sunxi-fel spl u-boot-sunxi-with-spl.bin" I get U-Boot SPL cannot find boot device error. Putting the very same U-Boot into a microSD card I do get U-Boot to load, and it can see the eMMC card without any problems. Now the question: what should I modify to get U-Boot to accept FEL booting?
<technix> Hello?
<pmpp> technix: which board ?
<technix> OrangePi WIn Plus
<technix> I have upgraded the onboard SPI flasg to a W25Q128FV, and added an eMMC
<pmpp> the A64 one ?
<technix> Not making use of the SPI for now
<technix> Yes.
<technix> I need to get things into the eMMC
<technix> I don’t have too many microSD cards to spare (maintaining a cluster of 12 Raspberry Pi’s eats microSD cards) so the eMMC footprint is a godsend.
<technix> On some other boards I have played with there is a USB Mass Storage mode in U-Boot, that allows the computer to see the microSD card or eMMC as a USB mass storage device and load the system image that way. On my A64 board all I see is U-Boot complaining that the USB controller is not initialized. How to fix that and get UMS to work?
Gerwin_J has quit [Quit: Gerwin_J]
<technix> Hello?
<pmpp> well i don't have a64 support in my fel boot tree, seems i need some wip branch
<pmpp> can't test now
<technix> Aww…
<technix> What about the UMS mode?
<technix> Also, where to find all the branches?
<technix> I was using the latest https://github.com/linux-sunxi/u-boot-sunxi master branch…
<BenG83> ums mode works on BSP u-boot, havent tried it on mainline yet
reinforce has quit [Quit: Leaving.]
<technix> Mainline does not work yet.
<jernej> technix: FEL boot doesn't work with 64 bit SoCs yet
<jernej> it is not yet implemented
<technix> Oh.
marble_visions has joined #linux-sunxi
<technix> Here is my boot log for my dual-card U-Boot
<technix> U-Boot SPL 2017.07-rc1-g2b1a332-dirty (Jul 29 2017 - 00:16:00)
<technix> DRAM: 2048 MiB
<technix> Trying to boot from MMC1
<technix> U-Boot 2017.07-rc1-g2b1a332-dirty (Jul 29 2017 - 00:16:00 +0800) Allwinner Technology
<technix> CPU: Allwinner A64 (SUN50I)
<technix> Model: OrangePi Win/Win Plus
<technix> DRAM: 2 GiB
<technix> MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
<technix> *** Warning - bad CRC, using default environment
<technix> Warning: HDMI PHY init timeout!
<technix> Warning: HDMI PHY init timeout!
<technix> In: serial
<technix> Out: serial
<technix> Err: serial
<technix> Net: No ethernet found.
<technix> starting USB...
<technix> USB0: USB EHCI 1.00
<technix> USB1: USB OHCI 1.0
<KotCzarny> use pastebin.com :P
<technix> USB2: musb_init_controller failed with status -22
<technix> probe failed, error -5
<technix> scanning bus 0 for devices... 1 USB Device(s) found
<technix> scanning usb for storage devices... 0 Storage Device(s) found
<technix> Hit any key to stop autoboot: 0
<technix> oh okay.
<technix> Here is the boot log
<technix> I don’t seem to be able to boot into the kernel here.
<technix> Got this then
<technix> Here is my eMMC diff. Nothing else is changed from u-boot-sunxi master head.
terra854 has quit [Quit: Connection closed for inactivity]
dev1990_ has joined #linux-sunxi
marble_visions_ has joined #linux-sunxi
marble_visions has left #linux-sunxi [#linux-sunxi]
fkluknav has quit [Ping timeout: 260 seconds]
marble_visions has joined #linux-sunxi
dev1990 has quit [Ping timeout: 260 seconds]
marble_visions has quit [Excess Flood]
<technix> Hello?
technix_ has joined #linux-sunxi
<technix_> Switching devices.
<technix_> Hold on...
technix_ has left #linux-sunxi [#linux-sunxi]
technix has left #linux-sunxi [#linux-sunxi]
technix_ has joined #linux-sunxi
technix_ is now known as technically
technically is now known as technix
<technix> Okay
<technix> I was switching devices.
netlynx has quit [Quit: Ex-Chat]
technix has quit [Quit: Mutter: www.mutterirc.com]
scream has quit [Remote host closed the connection]
leviathan_ has quit [Remote host closed the connection]
IgorPec4 has quit [Ping timeout: 260 seconds]
Wizzup has quit [Quit: leaving]
marble_visions_ has quit [Read error: Connection reset by peer]
Wizzup has joined #linux-sunxi
yann-kaelig has quit [Ping timeout: 268 seconds]
lemonzest has quit [Quit: Quitting]
jernej has quit [Ping timeout: 240 seconds]
Mr__Anderson has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 260 seconds]
jstein has quit [Remote host closed the connection]
jstein has joined #linux-sunxi
deep-book-gk_ has joined #linux-sunxi
deep-book-gk_ has left #linux-sunxi [#linux-sunxi]
marble_visions has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi