[Arm-dev] Bananapi / C7

Mon Aug 24 14:10:47 UTC 2015
Robert Moskowitz <rgm at htt-consult.com>


On 08/24/2015 10:00 AM, Mandar Joshi wrote:
>> 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.

How do I find out my UUID?

> 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

Not good.  I will wait for your  progress on this.  I have some samba 
things to work on right now.

> -----------------------------------------------------------------------------------------------------------------------------
> [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
> http://lists.centos.org/mailman/listinfo/arm-dev
>