IRC #olimex 2018-08-03

[07:57:12] <Tsvetan> seems I have lost my channel op rights as I didn't log here for quite long time
[07:57:54] <Tsvetan> and now olimex is registered to "freenode-staff"
[07:58:19] <Tsvetan> any idea how to recover the rights to kick these bots out of here?
[07:58:28] <dsockwell> go to #freenode and beg
[07:58:36] <Tsvetan> thanks!
[09:01:30] <leon-anavi> morning
[14:29:58] <vbmithr> Yo!
[14:30:10] <vbmithr> I have an issue with a Lime2-emmc that I just ordererd.
[14:30:18] <vbmithr> First, rev. K.
[14:30:30] <vbmithr> No mention of Revision K anywhere on the net (github, etc.) :(
[14:30:53] <vbmithr> Ethernet has an issue with mainline kernel (git) and mainline u-boot (git)
[14:31:11] <vbmithr> The kernel recognize, adds an eth0 interface
[14:31:34] <vbmithr> No problem, but then it does not work (i.e. not possible to obtain an IP)
[14:31:44] <vbmithr> Please help!
[14:37:11] <Tsvetan> please use support@olimex.com
[14:38:14] <Tsvetan> use the official image if you want everything to work
[14:38:42] <vbmithr> KSZ9031 PHY. OK.
[14:38:59] <Tsvetan> yes, this is the newest version
[14:39:59] <vbmithr> and u-boot/Linux supports this out of the box?
[14:40:20] <Tsvetan> everything is tested in the official images
[14:41:29] <vbmithr> Ok, but I need mainline kernel and so on.
[14:41:33] <Tsvetan> if I remember correct emmc is broken in current armbian image,
[14:42:02] <vbmithr> I'm going to try to make it work, now that I know the name of the chip :)
[14:43:10] <vbmithr> (and I need eMMC too)
[14:44:20] <Tsvetan> latest armbian use 4.14 which has broken eMMC
[14:44:46] <Tsvetan> it's fixed in 4.17
[14:48:36] <vbmithr> Yeah, I'm on 4.18-rc7
[14:48:39] <vbmithr> thanks.
[14:48:53] <vbmithr> I think recompiling u-boot will work
[15:01:19] <vbmithr> I did not have micrel support in Kernel. Was probably the reason.
[15:07:00] <vbmithr> But still not working :/
[15:40:53] <vbmithr> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864562
[15:41:00] <vbmithr> Other people had issues as well
[15:41:04] <vbmithr> seems quite horrible
[15:43:41] <vbmithr> Tsvetan: Could you update https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A20-OLinuXino-LIME2/hardware_revision_changes_log.txt BTW??
[15:44:44] <vbmithr> You stated last year:
[15:44:44] <vbmithr> /The Ethernet PHY change requires new patches on the Uboot and
[15:44:44] <vbmithr> Linux images which are already uploaded./
[15:51:45] <vbmithr> this: https://patchwork.ozlabs.org/patch/833763/ !
[15:51:56] <vbmithr> I guess it work the same for the Lime rev. K, gonna try now.
[16:00:46] <vbmithr> doesn't work :(
[16:16:10] <vbmithr> I mailed stefan.
[16:16:31] <vbmithr> But you should know that, as it stands, LIME2 rev. K ethernet does not work.
[16:20:02] <Tsvetan> vbithr did you by any chance read our build instructions on github as Lub said your problem is RTFM :)
[16:20:30] <vbmithr> link?
[16:21:18] <vbmithr> would be cool if my problem is RTFM :)
[16:21:23] <Tsvetan> https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A20
[16:21:49] <Tsvetan> If your board has eMMC then you have to apply a patches that fixes the problems with HighPriorityInterrupt and emmc5 support
[16:21:49] <Tsvetan> Download the patch file fix_emmc_hpi.patch using wget command
[16:21:49] <Tsvetan> # wget https://raw.githubusercontent.com/OLIMEX/build/master/patch/kernel/sun7i-default/fix_emmc_hpi.patch
[16:21:49] <Tsvetan> and patch the drivers/mmc/core/mmc.c file
[16:21:49] <Tsvetan> # patch -p1 < fix_emmc_hpi.patch
[16:21:53] <Tsvetan> for emmc5 support
[16:21:55] <Tsvetan> # wget https://raw.githubusercontent.com/OLIMEX/build/master/patch/kernel/sun7i-default/enable_emmc5_support.patch
[16:21:58] <Tsvetan> and patch the drivers/mmc/core/mmc.c file
[16:22:00] <Tsvetan> # patch -p1 < enable_emmc5_support.patch
[16:25:35] <vbmithr> Ok, I'll try, this is for mainline kernel right?
[16:28:38] <leon-anavi> hey, there will be retro gaming in Plovdiv next week (11 August): https://www.facebook.com/events/2188338428101317/
[16:43:48] <vbmithr> haaaaaa victory!
[16:43:52] <vbmithr> thanks Lub
[16:57:34] <vbmithr> Feel like the patches you gave me are for an old kernle
[16:57:50] <vbmithr> and that mainline kernel do emmc fine
[17:26:02] <vbmithr> [ 4.498500] Waiting for root device /dev/mmcblk0p2...
[17:26:02] <vbmithr> [ 4.541879] mmc1: new DDR MMC card at address 0001
[17:26:02] <vbmithr> [ 4.552502] mmcblk1: mmc1:0001 AGND3R 14.6 GiB
[17:26:02] <vbmithr> [ 4.562080] mmcblk1boot0: mmc1:0001 AGND3R partition 1 4.00 MiB
[17:26:02] <vbmithr> [ 4.572703] mmcblk1boot1: mmc1:0001 AGND3R partition 2 4.00 MiB
[17:26:04] <vbmithr> [ 4.586311] mmcblk1: p1 p2
[17:26:11] <vbmithr> blocked here. I guess I actually need those patches.
[17:26:50] <vbmithr> Ha, wait, maybe no!
[17:32:25] <vbmithr> victory, integral victory!
[17:32:38] <vbmithr> Thanks for morally supporting me :)