Hey Christo,
On 10-05-16 19:25, Christo Radev wrote:
Hi Olliver,
I try to build Armbian with kernel 4.5.0-rc6 by adding the patch as
discussed here
<https://groups.google.com/d/msg/linux-sunxi/vSC4vx8_ok8/K0jW8bmcAQAJ>.
In addition I have to add following as well:
|
diff --git a/arch/arm/boot/dts/Makefileb/arch/arm/boot/dts/Makefile
index 95c1923..9d6cfa8100644
---a/arch/arm/boot/dts/Makefile
+++b/arch/arm/boot/dts/Makefile
@@-695,6+696,7@@dtb-$(CONFIG_MACH_SUN7I)+=\
sun7i-a20-olimex-som-evb.dtb \
sun7i-a20-olinuxino-lime.dtb \
sun7i-a20-olinuxino-lime2.dtb \
+ sun7i-a20-olinuxino-lime2-emmc.dtb \
sun7i-a20-olinuxino-micro.dtb \
sun7i-a20-orangepi.dtb \
sun7i-a20-orangepi-mini.dtb \
|
to be able to compile the new sun7i-a20-olinuxino-lime2-emmc.dts file.
Good point, I actually forgot that bit in my own Makefile.
After booting I have renamed it to sun7i-a20-olinuxino-lime2.dts and
reboot lime-eMMC board.
why rename it to dts? i'm sure you mean dtb, and I'm guessing because
armbian loads that per default.
Unfortunately, I get some error messages:
|
root@lime2:~# dmesg | grep mmc
[0.000000]Kernelcommand line:console=tty1 root=/dev/mmcblk0p1 rootwait
rootfstype=ext4 cgroup_enable=memory
swapaccount=1sunxi_ve_mem_reserve=0sunxi_g2d_mem_reserve=0sunxi_no_mali_mem_reserve
sunxi_fb_mem_reserve=16hdmi.audio=EDID:0disp.screen0_output_mode=1920x1080p60panic=10consoleblank=0enforcing=0loglevel=1
[3.721024]sunxi-mmc 1c0f000.mmc:GotCD GPIO
[3.758926]sunxi-mmc 1c0f000.mmc:base:0xf08dc000irq:26
[3.759832]sunxi-mmc 1c11000.mmc:allocated mmc-pwrseq
[4.528643]sunxi-mmc 1c11000.mmc:fatal err update clk timeout
[4.535700]mmc0:host does notsupport reading read-only switch,assuming
write-enable
[4.538253]mmc0:newhigh speed SDHC card at address 0002
[4.539066]mmcblk0:mmc0:0002000003.70GiB
[4.540959] mmcblk0:p1
[4.548773]sunxi-mmc 1c11000.mmc:base:0xf08f2000irq:27
[6.418686]sunxi-mmc 1c11000.mmc:fatal err update clk timeout
[6.600359]EXT4-fs (mmcblk0p1):mounted filesystem withwriteback data
mode.Opts:(null)
[7.168650]sunxi-mmc 1c11000.mmc:fatal err update clk timeout
[7.918646]sunxi-mmc 1c11000.mmc:fatal err update clk timeout
[9.875182]EXT4-fs (mmcblk0p1):re-mounted.Opts:commit=600,errors=remount-ro
|
Where could be the problem?
Not exactly sure, are you using the correct lime ;)
It does look like the correct dtb was used, since the second mmc
controller is available. Maybe the bootloader prepares/inits something
that is missing? sounds unlikly but possible. Maybe armbian does more
changes?
Best regards
Chris
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.