narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
focus_ has quit [Ping timeout: 260 seconds]
focus_ has joined #linux-amlogic
cthugha has joined #linux-amlogic
ldevulder has quit [Ping timeout: 265 seconds]
chewitt_ has quit [Ping timeout: 265 seconds]
chewitt has joined #linux-amlogic
chewitt has quit [Ping timeout: 264 seconds]
chewitt has joined #linux-amlogic
Barada has joined #linux-amlogic
Elpaulo_m has joined #linux-amlogic
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #linux-amlogic
a5m has joined #linux-amlogic
Elpaulo_m has quit [Ping timeout: 264 seconds]
Elpaulo_m has joined #linux-amlogic
<dlan> narmstrong: is the mainline uboot's fastboot mode (to flash the firmware) works on Meson SoC ?
TobiasTh1Viking has quit [Ping timeout: 260 seconds]
tingoose_ has joined #linux-amlogic
tingoose has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
cthugha is now known as ldevulder
<narmstrong> dlan: if we manage to make the dwc2 device work, yes https://github.com/u-boot/u-boot/blob/master/doc/README.android-fastboot
<dlan> narmstrong: ok, actually, I haven't got that far.. just asking..
<dlan> narmstrong: I'm currently trying to add support for the AXG SoC, and lots stuff (register) are hardcoded there
<dlan> I'm talking the uboot
<dlan> I'm thinking about retrieve the register info from the DT
<bengal> narmstrong: I looked again at the u-boot clk driver and I ditched the clock-measuring approach. I'll explicitly implement the top (m)plls, clk81 and the gates
<dlan> bengal: hey, guess you are 'Beniamino Galvani' .
<dlan> what's the next plan for the uboot?
<narmstrong> dlan: the only hardcoded stuff is really the ethernet mac glue, and it depends on a config
<bengal> dlan: yep. I'm working on a clk driver and don't have any long term plan :) The current status is at http://linux-meson.com/doku.php
<narmstrong> dlan: what do you mean about next plan ?
<narmstrong> dlan: I plan to finish the USB when everithing is merged on the linux side (for the DT sync)
<narmstrong> dlan: I'll write a SARADC driver aswell
<narmstrong> dlan: what do you think is missing apart these ?
<dlan> I'd like to see fastboot support, so the uboot is capable of flash firmwar/update image
<dlan> and suspend/resume if possible
<narmstrong> dlan: suspend/resume is out of scope from u-boot
<dlan> that's great, if uboot is suspend/resume free.
<narmstrong> dlan: fastboot is a hack because it used "partition names" which is extremely android-centric
<dlan> basically, make uboot minimal workable, boot the kernel/rootfs -> from ethernet/tftp, or emmc, and then capable of updating firmware
<narmstrong> it's already the case except for fastboot
<dlan> narmstrong: oh, do you aware anything better than that?
chewitt has quit [Ping timeout: 240 seconds]
<dlan> replace fastboot?
<narmstrong> dfu ?
<dlan> dfu
<dlan> which mean we have to do twice work? userspace + uboot?
<narmstrong> from u-boot, mass storage is also an option, since you can expose the entire eMMC
<dlan> I don't get, how would that help to flash the firmware
<narmstrong> dlan: so you can write it directly to the disk ?
<dlan> narmstrong: for what's the hardcoded register, I mean the register current work only for GXL, while AXG change the offset
<dlan> I have a patch to show, http://dpaste.com/1KE8DEZ
<dlan> narmstrong: that's not acceptable, you force user to have USB disk
<narmstrong> oh, I'm rewriting this one as a cpu driver, which takes the base address from DT anyway
<narmstrong> dlan: I meant exposing the eMMC to the host throught USB gadget as mass storage
<dlan> narmstrong: then I give a bad example
<dlan> how about the board.c, I'd like to make it work on AXG platform
<dlan> narmstrong: oh, now I get your idea! that's brilliant!
<narmstrong> dlan: yep, it's a better example
<dlan> btw, is there any fdt ready function to get the register base address?
<narmstrong> dlan: I wanted to move all defines to GX first, than think how to handle the differences with AXG
<narmstrong> dlan: seems the code you are using is the one, or you can use regmap, which embeds all this code and expose a simple read/write
<dlan> sounds a better idea..
<narmstrong> moving all the board code to regmaps will make it really generic
<narmstrong> and you can only add offsets in the gx.h
<dlan> ya, sounds a good plan
<dlan> are you talking about struct regmap *syscon_get_regmap(struct udevice *dev); ?
<dlan> so we have to make a UBOOT dirver/device first?
<dlan> there might be place can't register as UOOBT DRIVER
<narmstrong> hmm, indeed not a good plan
<narmstrong> let me think about it
Ivanovic has quit [Quit: Disconnecting from stoned server.]
Ivanovic has joined #linux-amlogic
tingoose_ has quit [Ping timeout: 256 seconds]
tingoose has quit [Ping timeout: 245 seconds]
chewitt has joined #linux-amlogic
Elpaulo_m has quit [Ping timeout: 264 seconds]
Elpaulo_m has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
brujah has quit [Quit: Leaving]
afaerber has joined #linux-amlogic
brujah has joined #linux-amlogic
dsd_ has joined #linux-amlogic
dlan has quit [Quit: leaving]
Elpaulo_m has quit [Ping timeout: 260 seconds]
dlan has joined #linux-amlogic
dlan has joined #linux-amlogic
dlan has quit [Changing host]
Barada has quit [Quit: Barada]
steev has quit [Quit: ~]
steev has joined #linux-amlogic
tingoose_ has joined #linux-amlogic
tingoose has joined #linux-amlogic
miceopede has quit [Quit: ~]
miceopede has joined #linux-amlogic
lvrp16 has quit [Quit: ~]
lvrp16 has joined #linux-amlogic
jbrunet has quit [Quit: ~]
jbrunet has joined #linux-amlogic
narmstrong has quit [Quit: ~]
narmstrong has joined #linux-amlogic
mturquette has quit [Quit: ~]
Elpaulo has quit [Quit: Elpaulo]
khilman has quit [Quit: ~]
mturquette has joined #linux-amlogic
khilman has joined #linux-amlogic
ccaione has quit [Quit: ~]
ccaione has joined #linux-amlogic
LoysO has quit [Quit: ~]
LoysO has joined #linux-amlogic
tingoose_ has quit [Ping timeout: 264 seconds]
tingoose has quit [Ping timeout: 276 seconds]
tingoose_ has joined #linux-amlogic
tingoose has joined #linux-amlogic
a5m has quit [Remote host closed the connection]
jakogut has joined #linux-amlogic
tingoose has quit [Ping timeout: 240 seconds]
tingoose_ has quit [Ping timeout: 256 seconds]
sputnik__ has quit [Remote host closed the connection]
tingoose_ has joined #linux-amlogic
tingoose has joined #linux-amlogic
tingoose_ has quit [Ping timeout: 240 seconds]
tingoose has quit [Ping timeout: 265 seconds]
<Ely> ndufresne: With your patch, I can play the h.264 extracted bitstream with fakesink. However, it doesn't work with kmssink, and neither does iphone6s_4k.mov work with fakesink.
<ndufresne> so it's not enough for 1.12 ...
<ndufresne> I'm unlikely to put more time on 1.12 really
<Ely> No worries :). If 1.14 longs to make it in poky I'll cross compile my own probably, or do it on the board.
<ndufresne> it will make it, I'm not worried
The_Coolest has quit [Quit: FOLD For The Cause!!!]
gpdeciantis has joined #linux-amlogic
<gpdeciantis> Hi there. I stumbled on this project yesterday when I was messing with my Odroid C2. Wondering what kind of help is needed.
<chewitt> gpdeciantis: if you have some of the accessory bits for the C2 like hifi shield, make sure they work
<chewitt> if they don't, there's a project :)
<gpdeciantis> Ok
<gpdeciantis> O
<gpdeciantis> I'll start there.
<gpdeciantis> Thank you
vagrantc has joined #linux-amlogic
Ivanovic has quit [Changing host]
Ivanovic has joined #linux-amlogic
<gpdeciantis> Recommended distro with mainline? Arch? Compile the kernel myself?
<Ely> You could make your own with yocto and meta-meson if you have the patience for it.. :D
<chewitt> what's your main interest and use for the C2? .. pick a distro that supports that and either confirm or extend support for it :)
<ndufresne> gpdeciantis, on my side I picked ubuntu images, and replaced the rootfs with fedora, it's pretty generic linux, you can pick what you like the best
<gpdeciantis> Thanks.
tingoose_ has joined #linux-amlogic
tingoose has joined #linux-amlogic
Elpaulo has joined #linux-amlogic
robogoat_ has quit [Quit: leaving]
TobiasTheViking has joined #linux-amlogic
afaerber has quit [Quit: Leaving]
The_Coolest has joined #linux-amlogic
robogoat has joined #linux-amlogic
robogoat has quit [Client Quit]
robogoat has joined #linux-amlogic
afaerber has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
chewitt has quit [Quit: Adios!]
robogoat_ has joined #linux-amlogic
robogoat has quit [Quit: leaving]
robogoat_ has quit [Client Quit]
robogoat has joined #linux-amlogic
robogoat has quit [Client Quit]
trem has joined #linux-amlogic
robogoat has joined #linux-amlogic
robogoat has quit [Client Quit]
pionen has joined #linux-amlogic
robogoat has joined #linux-amlogic
robogoat has quit [Client Quit]
robogoat has joined #linux-amlogic
gpdeciantis has quit []
robogoat has joined #linux-amlogic
robogoat has quit [Client Quit]
robogoat has joined #linux-amlogic
robogoat has quit [Client Quit]
robogoat has joined #linux-amlogic
robogoat has quit [Quit: leaving]
Elpaulo has quit [Quit: Elpaulo]
robogoat has joined #linux-amlogic
robogoat has quit [Quit: leaving]
robogoat has joined #linux-amlogic
tingoose has quit [Ping timeout: 276 seconds]
tingoose_ has quit [Ping timeout: 260 seconds]
jakogut has quit [Ping timeout: 240 seconds]
<Ely> ndufresne: I ended up upgrading the recipes myself, testing with 1.14 now. Many files still fail to play but I'm pretty sure I know why now: it's files that have 5.1 audio. Probably unsupported by the sink or something..
<Ely> Is there any way to just ignore audio ?
<lvrp16> ndufresne, did you do the RK3399 demo at NAB?
dsd_ has quit [Ping timeout: 276 seconds]
dsd has joined #linux-amlogic
dsd has quit [Client Quit]
trem has quit [Quit: Leaving]
pionen has quit [Quit: leaving]
<vagrantc> well, i've managed to get odroid-c1 booting debian with linux 4.16+some patches from mainline using debian kernel packaging
<vagrantc> but it doesn't recognize the microsd ... i pulled a patch to enable it in the device-tree ... what Kconfig options, modules, etc. are needed to enable it? more patches to the driver-side?
<vagrantc> meson_mx_sdio module is loaded, no mention of mmc in dmesg
<vagrantc> currently in the odd position that rootfs and /boot are on usb, which the bootloader doesn't successfully read, and the boot firmware and bootloader are on microSD, which linux can't seem to read
<vagrantc> network boot appears to work ... of course it's an old u-boot and doesn't support some of the modern default boot options