00:12
jernej has quit [Ping timeout: 244 seconds]
00:13
OverCR has quit [Quit: Leaving.]
00:14
malfunction_ek has quit [Quit: Page closed]
00:29
Guest15887 has joined #linux-sunxi
00:31
corvusmalus has quit [Ping timeout: 260 seconds]
00:35
perr has joined #linux-sunxi
00:36
kaspter has joined #linux-sunxi
00:41
jernej has joined #linux-sunxi
00:53
kaspter has quit [Read error: Connection reset by peer]
00:54
kaspter has joined #linux-sunxi
01:05
jernej has quit [Quit: Konversation terminated!]
01:06
jernej has joined #linux-sunxi
01:18
codekipper has quit [Ping timeout: 250 seconds]
01:20
ninolein has quit [Ping timeout: 258 seconds]
01:20
ninolein has joined #linux-sunxi
01:21
jernej has quit [Ping timeout: 252 seconds]
01:22
jernej has joined #linux-sunxi
01:31
egbert has quit [Disconnected by services]
01:31
egbert has joined #linux-sunxi
01:44
jernej has quit [Ping timeout: 240 seconds]
01:53
perr has quit [Quit: Leaving]
01:55
popolon has quit [Quit: WeeChat 1.4]
02:06
cnxsoft has joined #linux-sunxi
02:36
foudubassan has joined #linux-sunxi
02:39
mosterta has joined #linux-sunxi
02:44
mosterta has quit [Ping timeout: 250 seconds]
03:20
p1u3sch1_ has quit [Ping timeout: 260 seconds]
03:21
p1u3sch1 has joined #linux-sunxi
04:27
kaspter has quit [Ping timeout: 244 seconds]
04:31
fire219 has quit [Read error: Connection reset by peer]
05:04
kaspter has joined #linux-sunxi
05:15
IgorPec has joined #linux-sunxi
05:21
scream has quit [Remote host closed the connection]
05:27
jernej has joined #linux-sunxi
05:36
kaspter has quit [Read error: Connection reset by peer]
05:36
kaspter1 has joined #linux-sunxi
05:41
mosterta has joined #linux-sunxi
05:46
mosterta has quit [Ping timeout: 258 seconds]
05:56
reinforce has joined #linux-sunxi
06:01
foxx_ has joined #linux-sunxi
06:03
massi has joined #linux-sunxi
06:05
dearfibonacci has joined #linux-sunxi
06:05
|Jeroen| has joined #linux-sunxi
06:17
dearfibonacci has quit [Ping timeout: 265 seconds]
06:17
dearfibonacci has joined #linux-sunxi
06:20
mosajjal has joined #linux-sunxi
06:20
<
mosajjal >
Hi everyone
06:20
<
mosajjal >
I have a couple questions regarding opengl on Mali400
06:21
<
mosajjal >
I wanted to know which drivers and tools are needed to achieve opengl HW/accel on Allwinner H3
06:21
<
mosajjal >
right now Xorg falls back to software rendering
06:22
<
mosajjal >
and glxgears takes up so much CPU so I'm guessing it's not GPU accelerated
06:29
jernej has quit [Ping timeout: 260 seconds]
06:45
<
MoeIcenowy >
mosajjal: glxgears won't use Mali
06:45
<
MoeIcenowy >
Mali do not support OpenGL, only OpenGL ES
06:47
<
KotCzarny >
hard to say, price?
06:47
<
KotCzarny >
18650 Li battery will be enough for up to 24 hrs on a single charge with Wi-Fi enabled.
06:47
<
KotCzarny >
~100mA seems like
06:48
<
mosajjal >
MoeIcenowy: what about Chromium ? not possible to use OpenGL ES with chromium ?
06:48
<
KotCzarny >
300mA max
06:49
<
foxx_ >
KotCzarny: 25-35$ afaik
06:49
imcsk8 has quit [Read error: Connection reset by peer]
06:49
<
MoeIcenowy >
mosajjal: I do not know about it...
06:49
florianH has joined #linux-sunxi
06:49
imcsk8 has joined #linux-sunxi
06:50
<
KotCzarny >
foxx, its up to your requirements then, you have to know target role to fit the ram/power/size/software
06:54
imcsk8 has quit [Read error: Connection reset by peer]
06:55
imcsk8 has joined #linux-sunxi
07:08
IgorPec2 has joined #linux-sunxi
07:09
IgorPec has quit [Ping timeout: 240 seconds]
07:21
Dodger78 has quit [Ping timeout: 244 seconds]
07:30
paulk-collins has joined #linux-sunxi
07:37
matthias_bgg has joined #linux-sunxi
07:39
iamfrankenstein has quit [Ping timeout: 244 seconds]
07:50
TheSeven has quit [Disconnected by services]
07:50
[7] has joined #linux-sunxi
07:53
rakeshk has joined #linux-sunxi
08:24
OverCR has joined #linux-sunxi
08:24
ricardocrudo has joined #linux-sunxi
08:24
Mr__Anderson has joined #linux-sunxi
08:43
mosterta has joined #linux-sunxi
08:48
IgorPec2 has quit [Ping timeout: 250 seconds]
08:49
mosterta has quit [Ping timeout: 252 seconds]
08:50
popolon has joined #linux-sunxi
09:00
mosajjal has quit [Ping timeout: 250 seconds]
09:03
jstein_ has joined #linux-sunxi
09:03
jstein is now known as Guest81645
09:05
jstein_ is now known as jstein
09:07
Guest81645 has quit [Ping timeout: 265 seconds]
09:07
IgorPec has joined #linux-sunxi
09:11
enrico_ has joined #linux-sunxi
09:17
apritzel has joined #linux-sunxi
09:23
derRichard has joined #linux-sunxi
09:24
<
derRichard >
can i read something like a cpu serial via fel? i'd like to distinguish allwinner multiple socs which are connrect via usb
09:26
<
derRichard >
fel sid
09:26
<
derRichard >
maybe...
09:28
<
apritzel >
derRichard: have you tried the "sid" command with sunxi-fel?
09:29
<
derRichard >
apritzel: yeah, just found that command
09:30
<
jonkerj >
apritzel: tnx for the u-boot fdt hint, seems to do what I want
09:31
<
apritzel >
jonkerj: I just love that command, it allows one to quickly hack the DT and do experiments
09:32
<
jonkerj >
are you able to add complete new nodes using that command?
09:32
<
jonkerj >
like i2c clients
09:35
<
apritzel >
jonkerj: in the beginning I used to delete the whole DT and rebuild it
09:35
<
apritzel >
because the original U-Boot didn't allow to load a DT
09:35
<
jonkerj >
are you using some trick to make that less masochistic?
09:35
<
apritzel >
(I had some script which I piped to the serial console to do this)
09:35
<
jonkerj >
it is a LOT of typing
09:36
<
jonkerj >
cat dts-patch > /dev/ttyOPIplus
09:36
<
apritzel >
I think I had something close to translating a DT into a series of fdt commands
09:37
* jonkerj
started to daydream about pyparsing DT's and flattening the AST to fdt commands indeed
09:38
<
apritzel >
jonkerj: I think you have to wait for the prompt, so I used "expect", IIRC
09:40
<
apritzel >
derRichard: can you confirm that the SIDs are all different for the boards you have?
09:40
<
jonkerj >
well I was thinking about piping my script to 'xsel' en pasting that in the interactive console
09:43
keh has quit [Ping timeout: 265 seconds]
09:43
<
derRichard >
apritzel: tested with 10 socs, all different
09:47
<
apritzel >
I think this was generated by another script
09:47
<
apritzel >
and then fixed up
09:48
<
apritzel >
you have to call it with: $ ./inject_dt.sh < /dev/ttyUSBx > /dev/ttyUSBx
10:03
iamfrankenstein has joined #linux-sunxi
10:04
iamfrankenstein has quit [Client Quit]
10:09
<
apritzel >
regarding either the ChipID being the first four nibbles of the SID or at least the first eight nibbles being unique for a certain SoC type?
10:09
<
wens >
maybe people with A64s could add their SID values to the list?
10:15
<
wens >
windows 10 iot core support for pine64 / bpi-m64 ...
10:17
kaspter1 has quit [Ping timeout: 276 seconds]
10:21
<
derRichard >
apritzel: only SID_KEY3 is different for each device
10:23
<
apritzel >
derRichard: so all your boards are the same model?
10:23
<
derRichard >
yes. 10 times the same board
10:30
<
apritzel >
derRichard: can you either post here or edit the Wiki to reveal the constant parts of the SID?
10:30
<
apritzel >
I was always curious whether one can identify a board by the SoC's SID
10:31
<
apritzel >
I guess board vendors get certain batches of SoCs from Allwinner and chances are the SIDs are somewhat related to each other within one batch
10:32
iamfrankenstein has joined #linux-sunxi
10:40
<
jonkerj >
using mainline sun8i-emac, I get a random mac address every boot, while using sunxi's 3.4 I have a consistent mac address
10:40
<
jonkerj >
how is that possible?
10:40
<
derRichard >
apritzel: fist i have to double check whether i'm allowed to share the sid's
10:40
<
derRichard >
the devices are not owned by me
10:41
<
apritzel >
jonkerj: because you don't set a MAC address using the SID
10:41
<
apritzel >
apritzel: I think U-Boot does that calculation
10:42
* apritzel
is getting old and talking to himself
10:42
<
KotCzarny >
could be worse
10:42
<
apritzel >
jonkerj: ideally U-Boot would generate a MAC based on the SID, which should be somewhat unique
10:43
<
KotCzarny >
you could've been talking to youself without the pants
10:43
<
apritzel >
KotCzarny: how do you know ;-)
10:43
<
KotCzarny >
because you are at work now?
10:44
<
apritzel >
KotCzarny: this is England, so everything's possible clothing-wise ;-)
10:45
<
apritzel >
jonkerj: and either put that address into the MAC registers or into the DT
10:45
<
apritzel >
I think the BSP kernel does the latter
10:46
<
jonkerj >
I would guess the former, as BSP was DT-less, right?
10:46
<
wens >
u-boot mainline puts an SID-based MAC in the DT, and the mainline kernel picks it up
10:47
<
wens >
with the BSP, it probably just generates the MAC consistently, probably using the SID
10:47
<
jonkerj >
using 2016.05 and 4.7 with montjoie's patches that was not the case on my board, wens
10:47
<
jonkerj >
every boot new mac
10:47
<
apritzel >
jonkerj: do you have U-Boot with sun8i-emac Ethernet support?
10:48
<
jonkerj >
I have the vanilla 2016.0{5,7}
10:48
<
jonkerj >
they seem without sun8i-emac
10:48
<
apritzel >
so they don't do the SID into MAC conversion
10:49
<
jonkerj >
so there is a patch to enable sun8i-emac in u-boot?
10:49
<
apritzel >
I think it was even in 2016.09-rc1, but got disabled?
10:50
<
apritzel >
jonkerj: IIRC I told Amit how to trigger the MAC conversion and storage
10:50
<
jonkerj >
it's not a big deal for me, I was just wondering
10:51
<
jonkerj >
I'll store this in my mental note cabinet as "will probably be better in a near future"
10:51
<
jonkerj >
in the meanwhile, I'll keep the hwaddr xxyyzz in interfaces.d/eth0
10:57
<
apritzel >
derRichard: sure, no need to reveal anything here
10:58
<
apritzel >
derRichard: I was wondering if one can do this process somehow anonymously
10:59
<
apritzel >
derRichard: possibly you could confirm the assumption against a list of published SIDs, without revealing your SIDs at all
11:01
<
wens >
jonkerj: SID to MAC was only recently introduced for non-designware
11:01
<
wens >
well, for all DTs with ethernet* aliases
11:01
<
wens >
so you need to get the latest u-boot
11:08
IgorPec2 has joined #linux-sunxi
11:09
IgorPec has quit [Ping timeout: 258 seconds]
11:24
<
montjoie >
HdeGoede sent me a patch for adding ethernet*, so my v3 have it
11:25
IgorPec2 has quit [Ping timeout: 244 seconds]
11:31
<
jonkerj >
I'm going to try that later on, but not now
11:32
rakeshk has quit [Remote host closed the connection]
11:40
cptG_ has joined #linux-sunxi
11:44
cptG has quit [Ping timeout: 276 seconds]
11:46
mosterta has joined #linux-sunxi
11:48
mosajjal has joined #linux-sunxi
11:51
mosterta has quit [Ping timeout: 240 seconds]
12:16
perr has joined #linux-sunxi
12:17
<
MoeIcenowy >
I successfully made a GRUB-based boot menu on my Cubieboard1
12:17
<
MoeIcenowy >
with GRUB on UEFI on U-Boot
12:20
<
jonkerj >
apritzel: do you happen to know how to convince u-boot in doing something like pinctrl-0 = <&adxl_int_pin> ?
12:20
<
jonkerj >
=> fdt set /soc/i2c@01c2ac00/adxl345@0 pinctrl-0 <&adxl_int_pin>
12:20
<
jonkerj >
syntax error
12:20
<
jonkerj >
probably means I should have read more about phandles
12:26
<
apritzel >
jonkerj: yeah, that's the nasty part of this approach ;-)
12:26
<
apritzel >
the phandles are unique values assigned at .dts -> .dtb compilation time by dtc
12:26
Mr__Anderson has quit [Remote host closed the connection]
12:27
<
apritzel >
so hacking a DT clearly becomes annoying at this point
12:27
<
jonkerj >
they probably need to be unique throughout the fdt
12:27
<
apritzel >
you can assign your own, as long as you don't mess it up
12:27
<
jonkerj >
do they need to be contigous?
12:28
<
apritzel >
if you have just a few, then it's probably fine
12:28
<
apritzel >
I think those phandles are the reason I didn't fully automate this U-Boot hacking scheme
12:28
<
jonkerj >
I discovered that in order to connect an adxl345 to the i2c bus, the linux driver requires an interrupt line, thus phandle for interrupt-parent, thus phandle for pinctrl
12:28
<
jonkerj >
should have picked a different part to test this :-)
12:29
<
apritzel >
jonkerj: wait till you get to clocks ;-)
12:29
<
jonkerj >
yeah, I'd like to avoid that
12:37
<
jonkerj >
print struct.unpack('>I', open(sys.argv[1], 'rb').read())[0]
12:37
<
jonkerj >
find /sys/ -name 'linux,phandle' -exec ./phandle.py {} \; | sort -n
12:37
<
jonkerj >
it goes up to 58, apparantly
12:40
fire219 has joined #linux-sunxi
12:51
<
apritzel >
jonkerj: yeah, as I said the clocks are crazy in this respect, as they all depend on each other, many from more than one source clock actually
12:52
cosm_ has quit [Ping timeout: 244 seconds]
12:53
montjoie has quit [Ping timeout: 250 seconds]
12:54
<
jonkerj >
ok, this is OK for patching disabled into okay
12:54
<
jonkerj >
but for subnodes needing phandles, I am going to stick to dts/dtb
12:54
<
apritzel >
jonkerj: sure, makes sense
12:55
<
apritzel >
as I said I only used it for hacking, so was OK with fixing up this one or two phandles
12:55
<
jonkerj >
would be great if someone patched my brain so I'd be able to do phandle resolving by heart
13:00
dearfibonacci has quit [Quit: Leaving]
13:06
dearfibonacci has joined #linux-sunxi
13:09
<
apritzel >
I am curious about the first few MB of such an image
13:09
<
apritzel >
reportedly it has some UEFI implementation
13:10
OverCR has quit [Quit: Leaving.]
13:10
<
MoeIcenowy >
apritzel: My PC have windows
13:10
<
MoeIcenowy >
(which I used to install win10iot on rpi2
13:11
<
apritzel >
MoeIcenowy: so you are volunteering? ;-)
13:11
havoc_ has joined #linux-sunxi
13:12
<
MoeIcenowy >
I may also update my Windows to RS1
13:12
<
MoeIcenowy >
but my network access is poor...
13:13
<
apritzel >
I did this PhoenixCard exercise once in a VM and can't be bothered anymore ;-)
13:13
<
MoeIcenowy >
my Windows is on real machine
13:13
<
MoeIcenowy >
my PC come with preloaded Windows 8
13:14
<
apritzel >
it did work with WindowsXP as a KVM guest and QEMU's USB device emulation, which is not bad
13:14
<
MoeIcenowy >
my PhoenixCard VM is also a XP.
13:15
<
MoeIcenowy >
but I used to experience the UEFI on RPI2
13:15
<
apritzel >
I was always wondering if ReactOS would work as a guest running PhoenixCard ...
13:15
<
MoeIcenowy >
it's a useless thing
13:15
<
MoeIcenowy >
except loading Win10IOT
13:15
<
MoeIcenowy >
It even have no Interface!!!
13:15
<
apritzel >
I was afraid of that, yes
13:15
<
apritzel >
well, if it picks up and loads an EFI image from the SD card
13:16
<
apritzel >
this could be a grub then as well
13:16
<
MoeIcenowy >
The RPI2 version of UEFI is not more useful than U-Boot UEFI
13:16
<
MoeIcenowy >
(I'm playing with U-Boot UEFI these days
13:16
<
apritzel >
didn't someone report a grub boot menu today ;-)
13:16
<
MoeIcenowy >
Maybe we should place a UEFI Shell there?
13:17
<
MoeIcenowy >
But the first thing for my is to download the ffu
13:17
<
MoeIcenowy >
42.4 KB/s - 19.1 MB,共 1.0 GB,还剩 7 小时
13:17
<
MoeIcenowy >
7 Hours left
13:20
<
apritzel >
remembers me of the times when I downloaded Quake from some dodgy FTP server over Christmas ;-)
13:21
<
apritzel >
but that was almost twenty years ago ...
13:22
<
MoeIcenowy >
I'm only using an ISP which have poor speed when accessing things out of China.
13:22
<
MoeIcenowy >
and I checked the MS Win IoT page
13:22
<
MoeIcenowy >
there's no page for A64
13:22
<
MoeIcenowy >
it's maybe the work by AW
13:23
<
MoeIcenowy >
apritzel: maybe we can implement some ACPI things in U-Boot?
13:24
<
MoeIcenowy >
(I'm thinking that you may want this kind of firmware interface
13:25
<
apritzel >
no, please don't use my name and "ACPI" on the same line!
13:25
<
MoeIcenowy >
ah-oh?!
13:26
<
MoeIcenowy >
what the hell
13:31
<
MoeIcenowy >
but as I know all the UEFIs running Windows NT kernel is with ACPI...
13:32
<
apritzel >
reportedly this was somehow faked for the ARM boards ;-)
13:32
<
MoeIcenowy >
apritzel: ?
13:32
<
apritzel >
but yes, WinNT seems to be married with ACPI since Win2K or so
13:34
<
apritzel >
ACPI is somewhat broken in general IMHO, and using it on ARM didn't improve this situation (more to the contrary, if you ask me)
13:34
<
MoeIcenowy >
as I know, Windows NT on ARM is highly using ACPI
13:34
<
apritzel >
is there actually Windows
_NT_ on ARM?
13:35
<
MoeIcenowy >
RT 8.1。
13:35
<
apritzel >
aren't those Windows installations using a different kernel?
13:35
<
MoeIcenowy >
This person patched qemu and ovmf, and then run a Windows RT 8.1 on qemu
13:36
<
apritzel >
and /me was just wondering which board out there had useful ACPI tables ...
13:36
<
apritzel >
AFAIK there are some ARM64 server systems coming close to this
13:37
<
apritzel >
but nothing for any kind of SBC - and especially ARM32
13:37
<
apritzel >
you would need some firmware clock implementation for that ;-)
13:38
<
apritzel >
nice link, btw
13:45
Mr__Anderson has joined #linux-sunxi
13:54
perr has quit [Remote host closed the connection]
14:03
cnxsoft has quit [Quit: cnxsoft]
14:08
dearfibonacci has quit [Quit: Leaving]
14:10
arossdotme has quit [Quit: Ex-Chat]
14:28
IgorPec has joined #linux-sunxi
14:29
afaerber has joined #linux-sunxi
14:30
reinforce has quit [Quit: Leaving.]
14:33
<
MoeIcenowy >
oh my download timed out
14:35
IgorPec has quit [Ping timeout: 260 seconds]
14:36
afaerber has quit [Ping timeout: 250 seconds]
14:37
afaerber has joined #linux-sunxi
14:39
premoboss has joined #linux-sunxi
14:48
mosterta has joined #linux-sunxi
14:54
mosterta has quit [Ping timeout: 265 seconds]
14:55
|Jeroen| has quit [Quit: dada]
14:58
<
apritzel >
MoeIcenowy: I downloaded it - can I put it somewhere where it's convenient for you to download?
14:59
<
wens >
afaik any connections across gfw are subject to artificially induced limits and delays
15:01
<
apritzel >
I was afraid so ...
15:04
JohnDoe_71Rus has joined #linux-sunxi
15:12
<
wens >
i can probably do it next week if i remember
15:14
OverCR has joined #linux-sunxi
15:15
<
apritzel >
wens: Allwinner should be able to put it somewhere inside, no?
15:16
<
apritzel >
(in the Chinternet, I mean)
15:16
<
apritzel >
(of course in addition to, not instead of the outside location)
15:16
Mr__Anderson has quit [Remote host closed the connection]
15:18
<
sW` >
however there is no MBR, so it can't be mounted
15:18
<
apritzel >
sW`: nice anyway
15:18
OverCR has quit [Client Quit]
15:20
foudubassan has quit [Remote host closed the connection]
15:20
<
apritzel >
though it just extracted 256KB :-(
15:21
<
apritzel >
which I don't debug now ...
15:35
Gerwin_J has joined #linux-sunxi
15:38
<
KotCzarny >
you can mount with -o offset=
15:50
montjoie has joined #linux-sunxi
15:55
Guest15887 is now known as corvusmalus
16:03
jernej has joined #linux-sunxi
16:04
TheLinuxBug has quit [Ping timeout: 258 seconds]
16:12
TheLinuxBug has joined #linux-sunxi
16:15
IgorPec has joined #linux-sunxi
16:24
BenG83 has joined #linux-sunxi
16:36
mosajjal has quit [Ping timeout: 250 seconds]
16:43
Nacho has quit [Ping timeout: 264 seconds]
16:47
Nacho has joined #linux-sunxi
16:47
IgorPec has quit [Ping timeout: 276 seconds]
17:02
premoboss has quit [Quit: Sto andando via]
17:09
Mr__Anderson has joined #linux-sunxi
17:11
Netlynx has joined #linux-sunxi
17:11
Netlynx has quit [Changing host]
17:11
Netlynx has joined #linux-sunxi
17:12
enrico_ has quit [Quit: Bye]
17:14
massi has quit [Remote host closed the connection]
17:20
iamfrankenstein has quit [Ping timeout: 244 seconds]
17:27
iamfrankenstein has joined #linux-sunxi
17:38
cosm has joined #linux-sunxi
17:48
apritzel has quit [Ping timeout: 244 seconds]
17:49
OverCR has joined #linux-sunxi
17:50
imcsk8 has quit [Read error: Connection reset by peer]
17:50
imcsk8 has joined #linux-sunxi
17:51
mosterta has joined #linux-sunxi
17:56
mosterta has quit [Ping timeout: 240 seconds]
18:02
Mr__Anderson has quit [Remote host closed the connection]
18:06
IgorPec has joined #linux-sunxi
18:13
ikmaak has quit [Ping timeout: 265 seconds]
18:24
ricardocrudo has quit [Remote host closed the connection]
18:24
lemonzest has quit [Quit: Leaving]
18:24
scream has joined #linux-sunxi
18:27
reinforce has joined #linux-sunxi
18:52
paulk-collins has quit [Quit: Leaving]
19:07
mosterta has joined #linux-sunxi
19:24
vagrantc has joined #linux-sunxi
19:24
matthias_bgg has quit [Quit: Leaving]
19:46
keh has joined #linux-sunxi
19:48
Warden has joined #linux-sunxi
19:49
Warden has quit [Client Quit]
19:51
foxx_ has quit [Ping timeout: 258 seconds]
19:51
IgorPec has quit [Ping timeout: 276 seconds]
20:01
scream has quit [Remote host closed the connection]
20:03
Netlynx has quit [Quit: Leaving]
20:18
Gerwin_J has quit [Quit: Gerwin_J]
20:23
<
topi` >
anybody with Orange PI hardware and the Xunlong camera module (gc2035 based)?
20:24
<
topi` >
I've been using an old 3.4 kernel on my OPi PC for the sole reason that it supports that $6 camera module and I can run motion there
20:24
<
topi` >
are there any efforts to get that camera module working on recent 4.x kernels?
20:24
<
topi` >
afaik there already is pretty decent H3 support in the just announced 4.7 kernel
20:25
vagrantc has quit [Quit: leaving]
20:34
Wizzup has quit [Read error: Connection reset by peer]
20:34
Wizzup has joined #linux-sunxi
20:42
reinforce has quit [Quit: Leaving.]
21:10
afaerber has quit [Quit: Ex-Chat]
21:13
apritzel has joined #linux-sunxi
21:16
Da_Coynul has joined #linux-sunxi
21:24
alexmarkley has joined #linux-sunxi
21:25
<
jemk >
apritzel: i haven't stress-tested it yet, but the register dump matches libdram in the relevant parts
21:26
<
alexmarkley >
i've gotten u-boot compiling/starting, and i have the kernel starting to boot okay
21:27
<
alexmarkley >
but it stops showing me anything on the serial port after "bootconsole [earlycon0] disabled"
21:28
<
alexmarkley >
makes me think i am doing something wrong for my console= parameter
21:35
<
jemk >
alexmarkley: what devicetree do you use?
21:37
<
alexmarkley >
jemk: sun5i-a13-olinuxino-micro.dts
21:37
<
alexmarkley >
even the manufacturer (olimex) recommends using that in their walkthrough
21:38
<
alexmarkley >
even though it's not the same device, it's very similar
21:39
<
jemk >
should be ok then, some dts don't enable the uart, but this one does
21:39
<
jemk >
so with something like console=ttyS0,115200 it should work
21:41
<
alexmarkley >
jemk: it's so weird
21:41
<
alexmarkley >
i've definitely been trying that
21:42
<
alexmarkley >
i'm trying to build the ubuntu kernel 4.2.0
21:42
<
alexmarkley >
so i can track with ubuntu-trusty/lts-backport-wily
21:43
<
alexmarkley >
i'm not super-experienced with embedded linux development, but i haven't seen anything quite like this before
21:44
<
alexmarkley >
my kernel command line is: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
21:46
<
jemk >
i don't know what else could be wrong, maybe you can paste the output somewhere
21:46
<
alexmarkley >
jemk: is it possible that i haven't properly enabled the correct uart driver in this kernel build?
21:46
<
alexmarkley >
i'm happy to paste it
21:48
<
alexmarkley >
like, "Serial: AMBA PL011 UART driver" ?
21:48
<
alexmarkley >
is that accurate?
21:48
<
alexmarkley >
this ubuntu kernel for armhf comes with a tubload of crap enabled that i don't want, and i had to enable support for allwinner SoCs
21:49
<
alexmarkley >
so not sure what other little gotchas may be hiding in make menuconfig
21:49
<
jemk >
CONFIG_SERIAL_8250_DW has to be enabled, i don't see any signs of that in your output
21:49
<
alexmarkley >
ok i will check for that
21:50
<
alexmarkley >
there's a good chance it's not
21:52
<
alexmarkley >
aha! jemk: it's set to M by default in the ubuntu kernel
21:52
<
alexmarkley >
so that's not gonna work
21:53
<
alexmarkley >
thanks for the tip
21:53
<
alexmarkley >
i never would have guessed this
21:53
<
jemk >
i'd recommend to start with the sunxi_defconfig, otherwise you might miss other important things too
21:54
<
alexmarkley >
is there a sunxi-linux branch of 4.2?
21:54
<
alexmarkley >
or even 4.x ?
21:55
<
alexmarkley >
i guess i can look myself :-P
21:55
<
jemk >
no, only mainline
21:57
<
alexmarkley >
oh! there's a sunxi_defconfig in mainline
21:57
<
alexmarkley >
i see it now
21:59
<
alexmarkley >
well thanks a ton, you saved me a lot of frustration there
22:00
<
alexmarkley >
i gotta run, but i will probably lurk in here some more tomorrow
22:00
<
alexmarkley >
cheers!
22:02
alexmarkley has quit []
22:04
tkaiser has joined #linux-sunxi
22:06
<
tkaiser >
And tell me whether I've done something wrong?
22:06
tkaiser has quit [Client Quit]
22:19
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:19
<
apritzel >
jemk: Wow! seriously?
22:20
Da_Coynul has joined #linux-sunxi
22:20
<
apritzel >
how did you came up with this?
22:20
<
apritzel >
jemk: just tried H3 by chance and fixed stuff up?
22:21
<
jemk >
yes, dumped the registers and they looked very familiar
22:21
<
apritzel >
jemk: Thanks a ton anyway!
22:21
<
apritzel >
I am quite busy atm, but will give it a try ASAP
22:21
<
apritzel >
looks like time to push my other 64-bit and SPL fixes
22:21
<
apritzel >
which allow loading FIT images by the SPL
22:21
<
apritzel >
so U-Boot + ATF, for instance
22:22
<
jemk >
they should probably be squashed, but i didn't want to change your history in case you did new patches too
22:22
<
apritzel >
indeed, no worries, we can clean this up any time
22:23
<
apritzel >
you saved me quite some hours on my disassembly quest ...
22:24
<
jemk >
i'm in the progress of cleaning up the dram stuff anyways, there is more to come in the future
22:26
<
apritzel >
jemk: nice
22:27
<
apritzel >
jemk: if you are wondering about something, I can look things up in my de-compiled libdram
22:27
<
jemk >
a lot of the registers are documented in the xilinx zynq manuals, showing that aw took a lot of shortcuts here and there
22:28
<
apritzel >
why am I not surprised?
22:28
<
apritzel >
shortcuts that potentially hurt stability?
22:29
<
apritzel >
as I am pretty clueless in those things: can you tell apart LPDDR3 from 1.5V DDR3?
22:29
<
apritzel >
by probing?
22:29
<
apritzel >
or do you have to know beforehand?
22:29
<
jemk >
some might do, but most of the time they chose the safe (slow) side
22:30
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:30
cosm has quit [Ping timeout: 264 seconds]
22:30
<
apritzel >
safe & slow in terms of setup time only?
22:30
<
jemk >
don't know, normally you should know beforehand and set it in the config
22:31
mosterta has quit [Ping timeout: 244 seconds]
22:32
<
jemk >
dram timings are calculated inaccurate, often to high, but some also slightly too low
22:32
<
apritzel >
jemk: do you plan to fix this in your rework?
22:33
<
jemk >
i'll try, but that need real memtests, otherwise i might make it worse, maybe they had a reason
22:34
BenG83 has quit [Quit: Leaving]
22:35
<
jemk >
also the stability with the ddr3l boards not reaching 672mhz can be improved by fixing the delays, the controller can do training for that
22:36
<
apritzel >
that sounds promising
22:38
Da_Coynul has joined #linux-sunxi
23:08
jstein has quit [Ping timeout: 276 seconds]
23:16
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:23
popolon has quit [Quit: WeeChat 1.4]
23:30
Da_Coynul has joined #linux-sunxi