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
sputnik_ has joined #linux-amlogic
chewitt has quit [Excess Flood]
chewitt has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
yangxuan has joined #linux-amlogic
<yangxuan> khilman: hi, would you mind check this patch: http://lists.infradead.org/pipermail/linux-amlogic/2018-October/008490.html
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
yangxuan has quit [Remote host closed the connection]
yangxuan has joined #linux-amlogic
<chewitt> yangxuan: you'll also need to add phicomm to the list of vendors
<chewitt> that's not an accepted patch, but I've cribbed the stuff that needs to be changed from other recent submissions
yangxuan has quit [Ping timeout: 240 seconds]
yangxuan has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
jakogut_ has quit [Quit: jakogut_]
chewitt has joined #linux-amlogic
<yangxuan> <chewitt> thanks, actually I have check vendor list before submit, by the time I though it's not really necessary, maybe will add it after maintainer review rest part
<yangxuan> chewitt, do you have any amlogic SBC like odroid C2, nanopi k2, or vim
<chewitt> I have quite a few boards, vendors like to send me samples
<chewitt> C2 and K2 are the only two I don't have though :)
<yangxuan> chewitt, then do you have khadas vim or any other amlogic SBC, I need some help
<chewitt> Yes, I have VIM in a drawer somewhere
<chewitt> what's the problem?
<yangxuan> I'm trying to add amlogic support into alpine linux upstream, would you mind test the kernel on your amlogic SBC
<chewitt> I can try images later, I'm at work right now so not at home where the boards are
<yangxuan> if you can test it when have time I will really appreciate it, here is my custom alpine build: https://github.com/yangxuan8282/phicomm-n1/releases/download/alpine_test_build/2018-10-27-alpine-n1-aarch64.zip
<chewitt> 200MB! .. thats huge :)
<yangxuan> the kernel is mainline kernel with patches from narmstrong, and apply a offset patch for vendor u-boot: https://github.com/yangxuan8282/phicomm-n1/raw/master/kernel/alpine/APKBUILDs/linux-amlogic/offset.patch
<yangxuan> yes, I know it's huge for a alpine haha
<yangxuan> I use the config is from narmstrong meta-meson, the kernel is kind of big, 70MB after compressed
<chewitt> we're all working on different versions of the same thing
<chewitt> it's group therapy
<yangxuan> maybe I should strip down some kernel option, the prious kernel build is based on 150balbes armbian config, the kernel package is much smaller, around 20MB, and the compressed os is like 80MB
<yangxuan> chewitt, does your linux.aarch64.conf work for s905d devices?
yangxuan has quit [Ping timeout: 272 seconds]
yangxuan has joined #linux-amlogic
yangxuan has quit [Ping timeout: 245 seconds]
aballier has quit [Ping timeout: 244 seconds]
yangxuan has joined #linux-amlogic
aballier has joined #linux-amlogic
<probono> speaking of balbes, is he in this channel sometimes?
<probono> hi yangxuan, is your build expected to run on "x96" x905s boxes? i have one here to test
<probono> err, s905x
<chewitt> yangxuan: GXL devices are fine, it's all about the dts used
<chewitt> I've tested a couple of S905D devices
<chewitt> balbes150 isn't normally seen in IRC to my knowledge, but I can ping him questions via the LibreELEC slack channel
<yangxuan> probono: it should able to run on your box, just edit uEnv.ini change dtb to yours
<yangxuan> and this alpine custom build not came with u-boot, for SBC maybe need install uboot manually, for android box it should able to boot with vendor u-boot on emmc
<probono> i will try, thanks.
<yangxuan> chewitt, is there any pre build amlogic based on your repos?
<yangxuan> to add dts for if only change options 'KERNEL_UBOOT_EXTRA_TARGET' section?
<chewitt> depends on the build project/device
<chewitt> I have some pre-built images, but not public
<chewitt> you also need to build from my branch or you'll get some old 3.14 kernel image
<probono> so, to recap, there is no known way to make a full backup from NAND to restore a box into the exact factory state later on? Not using uboot, not using USB OTG, not using userland tools in Linux?
bengal has quit [Ping timeout: 244 seconds]
bengal has joined #linux-amlogic
<chewitt> I'm not aware of anything, and I'm not sure what simple dd of partitions will miss
<chewitt> (but it probably misses something)
<probono> yangxuan, does not boot for me. i flashed your image to SD and booted. system boots into NAND Android. When holding reset button during power cycle, device gets stalled on boot screen. Box: x96 2GB/16GB, Mainboard says Q5X V2.1; Seems to be built on the p212 reference design
<probono> I have not yet soldered serial console pins to this box yet, should I do that next?
Darkmatter66_ has joined #linux-amlogic
<yangxuan> probono, can you boot with 150balbes' armbian
<probono> yes
Darkmatter66 has quit [Ping timeout: 252 seconds]
<yangxuan> which build
<probono> Title:Armbian 5.27 Amlogic-s905x Ubuntu xenial default
<probono> Kernel:Linux 3.14.29
<probono> Build date:25.06.2017
<yangxuan> probono, do you need edit files in /boot with 150balbes armbian for your box
<probono> no, besides copying the dtd.img
<probono> hold on, now the box is not booting anymore with armbian as well
<probono> let me try libreelec
<chewitt> probono: what do you ultimately want to do with the box?
<chewitt> and what box/device is it?
<probono> chewitt, at this point i am just playing around with a s805 and a s905x box to see what they can do
<probono> the s805 box i could imagine to become a repetier-server for 3d printers and webcams
<probono> box 1: s905x, x96 2GB/16GB, Mainboard says Q5X V2.1
<probono> box 2: MXQ S805 (PCB: S805Q_V2.0), I can boot with meson8b_m201d.dtb
<probono> board 3: odroid c1+
yangxuan has quit [Ping timeout: 246 seconds]
yangxuan has joined #linux-amlogic
yangxuan has quit [Client Quit]
yangxuan has joined #linux-amlogic
<chewitt> and what kernel(s) are you trying to run?
<probono> all kinds. currently trying 4.19.0 on s905x, it's running
<chewitt> 4.19.0 should be fine for ethernet, maybe something needed for wifi and bt only
<probono> yes, ethernet seems to be working for me
<probono> 2G ram is detected correctly
<probono> right now i am running alpine linux from yangxuan which uses 4.18.14
<chewitt> does the MAC address change on each reboot?
<yangxuan> chewitt: do you know if it's possible disable autonegotation in device tree, I found for rtl8211f only disable EEE is no enough
<chewitt> what switch do you have?
<chewitt> you can probably force the port, but not sure about auto-negotiation specifically
<yangxuan> gigabit switch
<chewitt> brand?
<yangxuan> it's a router actually, from local company
<chewitt> I'd leave dts alone and disable it on the switch rather than the OS, because then you're not having to patch dts with every update
<chewitt> but if it's some cheap router box, that might not be possible
<yangxuan> yes, I'm using disable it in userspace now
<chewitt> I'd run a command via systemd or udev to force speed
<yangxuan> before disable EEE, the connection always down after high-performance
<yangxuan> after disable EEE, the iperf test is 920, but the speed of scp is still not stable
<yangxuan> after disable auto-negotiation with ethtool, the scp speed is stable now, the command I use is: ethtool -s eth0 speed 1000 duplex full autoneg off
chewitt has quit [Quit: Zzz..]
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-amlogic
yangxuan has quit [Quit: Leaving]
yangxuan has joined #linux-amlogic
<probono> on alpine linux the MAC does not change after each reboot
chewitt has joined #linux-amlogic
chewitt has quit [Client Quit]
chewitt has joined #linux-amlogic
chewitt has quit [Ping timeout: 252 seconds]
yangxuan has quit [Ping timeout: 272 seconds]
yangxuan has joined #linux-amlogic
chewitt has joined #linux-amlogic
yangxuan has quit [Ping timeout: 246 seconds]
yangxuan has joined #linux-amlogic
yangxuan has quit [Ping timeout: 246 seconds]
yangxuan has joined #linux-amlogic
<yangxuan> chewitt, hi if I want add s905d support for Lakka, what should I do
<chewitt> Lakka is currently based off of the LE 8.2 codebase (AFAIK)
<chewitt> S905D = GXL which is well supported, but you'll need a device tree for the device
<chewitt> S905X boxes are pretty uniform as they all use the internal PHY
<yangxuan> yeah, actually weeks ago I compile the lakka, add device tree, but when I test the build on s905d box, it not boot
<chewitt> S905D boxes can use external PHY which adds differences
<chewitt> hmm.. and they're still using an older "kszaq" kernel source for S905 boxes
<chewitt> so it's loosely based on LE 8.2
<chewitt> I'm not the expert on 3.14 kernel stuff .. I haven't used it in ~6 months
<yangxuan> I read the posts on libreelec, seems kszaq has stop build new LE
<chewitt> he got a new job, new baby, and didn't have time to deal with all the support work, so retired gracefully
<yangxuan> your LE repos use 4.18 kernel, since the lakka based on libreelec, can we build lakka based on your repos?
<chewitt> LE repo uses 3.14
<chewitt> my repo is using 4.19
<chewitt> I doubt my repo will support Lakka without some adjusting of things
<yangxuan> just check it's 4.19 instead of 4.18
<yangxuan> chewitt, does your LE repos support video hardware acceleration, play HD video on gxl s905d devices
edcragg has quit [Quit: ZNC - http://znc.in]
edcragg has joined #linux-amlogic
<yangxuan> chewitt, I'm trying to add support for my s905d box based on your LE repos, but keep get this warning: ERROR: You need to specify a valid device for the Amlogic project
<yangxuan> found it, should use DEVICE instead of SYSTEM
jakogut_ has joined #linux-amlogic
yangxuan has quit [Remote host closed the connection]
yangxuan has joined #linux-amlogic
Ivanovic has quit [Quit: Caught sigterm, terminating...]
Ivanovic has joined #linux-amlogic
yangxuan has quit [Ping timeout: 246 seconds]
Ivanovic has quit [Quit: Caught sigterm, terminating...]
Ivanovic has joined #linux-amlogic
Ivanovic has quit [Client Quit]
Ivanovic has joined #linux-amlogic
jakogut_ has quit [Ping timeout: 246 seconds]
jakogut_ has joined #linux-amlogic
return0e has joined #linux-amlogic
return0e_ has quit [Ping timeout: 246 seconds]
jakogut_ has quit [Quit: jakogut_]
jakogut_ has joined #linux-amlogic
yangxuan has joined #linux-amlogic
pionen has joined #linux-amlogic
Ivanovic has quit [Ping timeout: 264 seconds]
yangxuan has quit [Ping timeout: 245 seconds]
Ivanovic has joined #linux-amlogic
yangxuan has joined #linux-amlogic
mag has joined #linux-amlogic
yangxuan has quit [Ping timeout: 264 seconds]