[Arm-dev] Bananapi / C7

Mon Aug 24 14:34:38 UTC 2015
Nicolas Repentin <nicolas at shivaserv.fr>

I will try to reboot when I'm home but initramfs seems to be quite light... maybe it's normal.

-rw-------. 1 root root 64M 18 juin 18:32 initramfs-4.0.0-1.el7.armv7hl.img
-rw------- 1 root root 33M 24 août 14:23 initramfs-4.2.0-0.rc2.git0.1.centos.el7.armv7hl.img

Nicolas Repentin
24 août 2015 16:01 "Mandar Joshi"  a écrit:

	 I've tried booting on 4.2.0-0:

Boot get a long time on "Mounted Configuration File System", before get like
Robert:
I tested the new kernel on my Cubietruck and was able to boot after
manually generating the initramfs using the command

-----------------------------------------------------------------------------------------------------------------------------
dracut --verbose
/boot/initramfs-4.2.0-0.rc2.git0.1.centos.el7.armv7hl.img
4.2.0-0.rc2.git0.1.centos.el7.armv7hl
-----------------------------------------------------------------------------------------------------------------------------

I have the package dracut-config-generic-033-240.el7.armv7hl
installed. Make sure you have it too. I am not sure if that's the
source of the problem.

The entry in /boot/extlinux/extlinux.conf created by the rbfkernelup
yum plugin is
-----------------------------------------------------------------------------------------------------------------------------
label Derived from Red Hat Enterprise Linux 7.1 (Source)
4.2.0-0.rc2.git0.1.centos.el7.armv7hl
kernel /vmlinuz-4.2.0-0.rc2.git0.1.centos.el7.armv7hl
append enforcing=0 root=UUID=34fa4504-d4ae-4d17-9c07-4c56a5f8f614
fdtdir /dtb-4.2.0-0.rc2.git0.1.centos.el7.armv7hl
initrd /initramfs-4.2.0-0.rc2.git0.1.centos.el7.armv7hl.img
-----------------------------------------------------------------------------------------------------------------------------
You will have the change the UUID as per your board.

However, I am not able to use ethernet with the new kernel. I haven't
looked into it in detail but preliminary debugging shows the module
stmmac_platform.ko not loading. I get this error
-----------------------------------------------------------------------------------------------------------------------------
[root at cubietruck ~]# modprobe stmmac_platform
[ 114.508483] stmmac_platform: Unknown symbol devm_kmalloc (err 0)
[ 114.521212] stmmac_platform: Unknown symbol stmmac_suspend (err 0)
[ 114.533718] stmmac_platform: Unknown symbol platform_get_irq_byname (err 0)
[ 114.546855] stmmac_platform: Unknown symbol stmmac_dvr_remove (err 0)
[ 114.559331] stmmac_platform: Unknown symbol platform_get_resource (err 0)
[ 114.572149] stmmac_platform: Unknown symbol of_get_phy_mode (err 0)
[ 114.584331] stmmac_platform: Unknown symbol of_property_read_u32_array (err 0)
[ 114.597508] stmmac_platform: Unknown symbol of_alias_get_id (err 0)
[ 114.609629] stmmac_platform: Unknown symbol stmmac_resume (err 0)
[ 114.621533] stmmac_platform: Unknown symbol stmmac_dvr_probe (err 0)
modprobe: ERROR: could not insert 'stmmac_platform': Unknown symbol in
module, or unknown parameter (see dmesg)
-----------------------------------------------------------------------------------------------------------------------------

Regards
Mandar Joshi
_______________________________________________
Arm-dev mailing list
Arm-dev at centos.org (mailto:Arm-dev at centos.org)
http://lists.centos.org/mailman/listinfo/arm-dev (http://lists.centos.org/mailman/listinfo/arm-dev)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20150824/21fa3dc5/attachment-0006.html>