New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for eMMC variant of OLinuXino Lime2 #175

Merged
merged 4 commits into from Apr 26, 2017

Conversation

Projects
None yet
2 participants
@diegorondini

diegorondini commented Apr 13, 2017

No description provided.

require conf/machine/include/sun7i.inc
PREFERRED_VERSION_linux = "4.11.0+git%"

This comment has been minimized.

@ebutera

ebutera Apr 18, 2017

I think it's better to keep kernel version consistent with non-emmc board, it works fine with the default 4.9.x kernel so please remove this

This comment has been minimized.

@diegorondini

diegorondini Apr 18, 2017

I elected to use 4.11 as eMMC was not working for me on 4.9 on the Lime2 eMMC variant, even if it has the appropriate dts. I think it is due to the fact that it 4.9 is missing this fix with respect to 4.11:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts?h=v4.11-rc6&id=3116d37651d77125bf50f81f859b1278e02ccce6
If you want I can add a comment about it, to make it explicit why I used 4.11. Otherwise, if you really want to keep 4.9 I can backport the patch of the dts fix.

This comment has been minimized.

@diegorondini

diegorondini Apr 24, 2017

Let me know what I can do to ease the merge process, I'd love to have this merged before pyro branching.

This comment has been minimized.

@ebutera

ebutera Apr 24, 2017

Sorry for the delay, if it's not too much of a hassle please backport the dts fix and i will merge this.
Thanks!

diegorondini added some commits Apr 13, 2017

u-boot: add support for eMMC for OLinuXino Lime2
Add support for eMMC for Olimex A20-OLinuXino Lime2 eMMC board by adding the
appropriate defconfig while waiting it is upstreamed in mainline U-Boot.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
u-boot: adjust root for eMMC boot
Adjust the bootscript so that if U-Boot is loaded from the eMMC, then
kernel "root" parameter is set to use eMMC second partition.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
olinuxino-a20lime2-emmc: add configuration
Add machine configuration file for Olimex A20-OLinuXino Lime2 Board with 4GB
eMMC.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
linux: backport patch for Lime2 eMMC support
Backport patch from v4.10 to fix eMMC support on OLinuXino Lime2.

@diegorondini diegorondini force-pushed the Kynetics:master branch from 0dff82c to 0ebd445 Apr 26, 2017

@diegorondini

This comment has been minimized.

diegorondini commented Apr 26, 2017

  • Patches are now rebased on master
  • eMMC fix backported to linux 4.9
  • returned to default kernel (4.9) as requested.

@ebutera ebutera merged commit 4740d3f into linux-sunxi:master Apr 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment