[fedora-arm] WORKING! - Re: uboot for the Cubieboard2 - not so easy

Robert Moskowitz rgm at htt-consult.com
Mon Aug 4 00:44:16 UTC 2014


YES!  I have a working ethernet:

# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
group default
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UNKNOWN group default qlen 1000
     link/ether 02:c4:03:82:c1:53 brd ff:ff:ff:ff:ff:ff
     inet 208.83.67.183/28 brd 208.83.67.191 scope global dynamic eth0
        valid_lft 259182sec preferred_lft 259182sec
     inet6 2607:f4b8:3:3:c4:3ff:fe82:c153/64 scope global noprefixroute 
dynamic
        valid_lft 33sec preferred_lft 23sec
     inet6 fe80::c4:3ff:fe82:c153/64 scope link
        valid_lft forever preferred_lft forever

I will assume other cubieboard2 items different from cubietruck will be 
right as well.  But I think the only one I care about is the ethernet.

Now to install tigervnc-server and see if I can connect to it (I am 
using the f21-xfce build eventhough video is not working yet).


On 08/03/2014 07:52 PM, Robert Moskowitz wrote:
>
> On 08/03/2014 05:00 PM, Hans de Goede wrote:
>> Hi,
>>
>> On 08/03/2014 06:32 AM, Robert Moskowitz wrote:
>>> On 08/02/2014 06:54 AM, Hans de Goede wrote:
>>>> Hi,
>>>>
>>>> On 08/01/2014 08:31 PM, Robert Moskowitz wrote:
>>>>> For me anyway.  I am begining to see how the pieces are suppose to 
>>>>> fit together.
>>>>>
>>>>> The installer script is coded for only the Cubietruck, and if you 
>>>>> don't capitalize it, the script fixes that.
>>>>>
>>>>> There IS a dtb for the cubieboard2:
>>>>>
>>>>> /run/media/rgm/__boot/dtb-3.16.0-0.rc7.git1.1.fc21.armv7hl/sun7i-a20-cubieboard2.dtb 
>>>>>
>>>>>
>>>>> But no .bin supplied.
>>>> Correct.
>>>>
>>>>> I got u-boot-sunxi-cubieboard2.tar.xz from someplace on Jul 24 
>>>>> which has in it:
>>>> That won't work because it is missing the "generic distro support" 
>>>> patches
>>>> Fedora's images rely on.
>>>>
>>>> I've a u-boot tree which supports a lot more allwinner devices then 
>>>> just the
>>>> cubietruck, and does include the generic distro support.
>>>>
>>>> To build this do the following (on an x86 machine)
>>>>
>>>> yum install gcc-arm-linux-gnu
>>>> git clone https://github.com/jwrdegoede/u-boot-sunxi.git
>>>> cd u-boot-sunxi
>>>> git checkout -B next origin/next
>>> # git checkout -B next origin/next
>>> Branch next set up to track remote branch next from origin.
>>> Switched to a new branch 'next'
>>>
>>>> make -j4 CROSS_COMPILE=arm-linux-gnu- Cubieboard2_defconfig
>>> # make -j4 CROSS_COMPILE=arm-linux-gnu- Cubieboard2_defconfig
>>>    HOSTCC  scripts/basic/fixdep
>>> /bin/sh: gcc: command not found
>>> make[1]: *** [scripts/basic/fixdep] Error 127
>>> make: *** [scripts_basic] Error 2
>>>
>>> Looks like there is something else I need to install...
>> It seems like you've never build anything from source on your system.
>>
>> For starters you will need to install gcc:
>>
>> yum install gcc
>>
>> Given that your system is not setup to build software you may need
>> some other things too though.
>
> Yep.  I am rather inexperienced doing builds and such.  I need real 
> good cookbooks like you supplied here.  Installed gcc, and nothing 
> else was asked for.  I first cloned the card I have built up, and then 
> ran your dd of the uboot.  Next to the cubieboard2 back together 
> (monitor, keyboard, console, and the like) and watch the boot.
>
>
> _______________________________________________
> arm mailing list
> arm at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/arm



More information about the arm mailing list