cubietruck boot error

This forum is for supported devices using an ARMv7 Allwinner SoC.

Re: cubietruck boot error

Postby moonman » Thu Mar 12, 2015 9:19 am

You can't load modules in chroot.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: cubietruck boot error

Postby albertdazurs » Mon Mar 23, 2015 12:07 pm

Adding a $this->bbcode_second_pass_code('', 'cubietruck.conf') file in $this->bbcode_second_pass_code('', '/etc/modules-load.d/') containing $this->bbcode_second_pass_code('', 'sunxi_gmac') now works fine. I guess something has been fixed with the latest update of the rootfs tarball.
Last edited by albertdazurs on Tue Mar 24, 2015 8:10 am, edited 1 time in total.
albertdazurs
 
Posts: 6
Joined: Wed Feb 18, 2015 10:40 pm

Re: cubietruck boot error

Postby WarheadsSE » Mon Mar 23, 2015 2:33 pm

$this->bbcode_second_pass_code('', 'modules-load.d')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: cubietruck boot error

Postby pelikan81 » Thu Mar 26, 2015 9:24 am

Hello all,

Just FYI, I have installed on nand debian, and then put microSD card into cubietruck and I followed these installation instruction http://archlinuxarm.org/platforms/armv7 ... cubietruck , but before restart system, I went into chroot, and updated system, installed U-Boot package and kernel. I set up static IP address and for modules i did following:

[root@debi-cubie /]# cat /etc/modules-load.d/cubietruck.conf
stmmac

I do not need these modules:
[root@debi-cubie /]# cat /etc/modprobe.d/blacklist.conf
blacklist brcmfmac
blacklist brcmutil
blacklist cfg80211
blacklist sun4i_ts
blacklist rfkill

and then reboot debian system, cubietruck booted from microSD into archlinux well. I have loaded stmmac module as ethernet driver, not sunxi_gmac.


[root@arch-cubie ~]# uname -a
Linux arch-cubie 3.19.2-1-ARCH #1 SMP Wed Mar 18 19:31:16 MDT 2015 armv7l GNU/Linux

[root@arch-cubie ~]# lsmod
Module Size Used by
nfnetlink_queue 11889 1
nfnetlink 7283 2 nfnetlink_queue
xt_iprange 1685 0
ipt_REJECT 1552 1
nf_reject_ipv4 2846 1 ipt_REJECT
xt_mark 1279 6
xt_NFQUEUE 2847 3
tun 19997 2
nf_log_ipv4 4087 1
nf_log_common 3770 1 nf_log_ipv4
xt_LOG 1475 1
xt_limit 1897 3
xt_tcpudp 2359 19
nf_conntrack_ipv4 15021 4
nf_defrag_ipv4 1805 1 nf_conntrack_ipv4
xt_recent 10139 2
xt_conntrack 3188 4
nf_conntrack 105071 2 xt_conntrack,nf_conntrack_ipv4
iptable_filter 1734 1
ip_tables 11993 1 iptable_filter
x_tables 18554 11 xt_iprange,xt_mark,xt_recent,ip_tables,xt_tcpudp,xt_NFQUEUE,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ipt_REJECT
realtek 1966 0
stmmac_platform 12539 0
uio_pdrv_genirq 3580 0
uio 10028 1 uio_pdrv_genirq
sch_fq_codel 7823 3
stmmac 67578 1 stmmac_platform


[root@arch-cubie ~]# modinfo stmmac
filename: /lib/modules/3.19.2-1-ARCH/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac.ko.gz
license: GPL
author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
description: STMMAC 10/100/1000 Ethernet device driver
depends:
intree: Y
vermagic: 3.19.2-1-ARCH SMP mod_unload modversions ARMv7 p2v8
parm: watchdog:Transmit timeout in milliseconds (default 5s) (int)
parm: debug:Message Level (-1: default, 0: no output, 16: all) (int)
parm: phyaddr:Physical device address (int)
parm: dma_txsize:Number of descriptors in the TX list (int)
parm: dma_rxsize:Number of descriptors in the RX list (int)
parm: flow_ctrl:Flow control ability [on/off] (int)
parm: pause:Flow Control Pause Time (int)
parm: tc:DMA threshold control value (int)
parm: buf_sz:DMA buffer size (int)
parm: eee_timer:LPI tx expiration time in msec (int)
parm: chain_mode:To use chain instead of ring mode (int)
pelikan81
 
Posts: 11
Joined: Wed Jan 16, 2013 8:11 am

Re: cubietruck boot error

Postby pelikan81 » Thu Mar 26, 2015 9:35 am

albertdazurs,
could you please check if you have this sunxi_gmac loaded in your system ?
for example by commands: lsmod or systemctl status systemd-modules-load.
I'm just wondering if you are using this driver.
thanks
pelikan81
 
Posts: 11
Joined: Wed Jan 16, 2013 8:11 am

Previous

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 3 guests