Skip to contentSkip to conversation

New: Default configuration for Cubieboard v1 is outdated

Buildroot bugzilla at busybox.net 1 participant 8 messages Mar 15, 2015 – Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=7931

Summary: Default configuration for Cubieboard v1 is outdated
Product: buildroot
Version: 2015.02
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Outdated package
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: mfld.fr at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

The cubieboard_defconfig uses the linux-sunxi kernel v3.0.y, that fails early during boot on a Cubieboard v1 (final revision).

The boot succeeds after switching to linux-sunxi v3.4.y kernel, as recommended by this community on its wiki:
http://linux-sunxi.org/Linux_Kernel#Kernel_versions

Change proposal:

BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9a1cd034181af628d4145202289e1993c1687db6" BR2_LINUX_KERNEL_VERSION="9a1cd034181af628d4145202289e1993c1687db6" BR2_LINUX_KERNEL_PATCH=""

The commit 9a1cd03 is the latest (2014) of the v3.4.y branch.

I did not try the mainline kernel, because it is explicitly stated by Free Electrons guys that the A10 NAND or multimedia caps are not yet supported.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 7931] Default configuration for Cubieboard v1 is outdated

https://bugs.busybox.net/show_bug.cgi?id=7931

--- Comment #1 from Thomas Petazzoni <[email protected]> 2015-03-15 18:17:58 UTC --- Hum, which version of Buildroot are you using?

I see the following in
http://git.buildroot.net/buildroot/tree/configs/cubieboard_defconfig :

# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux-sunxi/linux-sunxi.git" BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="274a66a7bfcbaabb88d63e4eba161965383cc416" BR2_LINUX_KERNEL_VERSION="sunxi-3.4" BR2_LINUX_KERNEL_DEFCONFIG="sun4i"

Which seems to indicate it's already using a 3.4 kernel.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 7931] Default configuration for Cubieboard v1 is outdated

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=7931

--- Comment #2 from mfld.fr at gmail.com 2015-03-15 18:39:53 UTC --- Hello Thomas, first I would like to thank you for all the work you did on BuildRoot, because it helped me a lot to run my BBB and now my CB1.

Back to the problem reported here:

I used a fresh new v2015.02, and the commit that was in the defconfig is the following:
https://github.com/linux-sunxi/linux-sunxi/commit/274a66a7bfcbaabb88d63e4eba161965383cc416

As you can see, this commit is commented as 'Merge branch 'reference-3.0' into sunxi-3.0', and referenced in the branch 'sunxi-3.0'.

In the serial console, I also saw that the linux kernel version was 3.0.y, not 3.4.y in the very first lines before the panic. This is why I stopped to test that config and updated to latest linux-sunxi v3.4.y branch, that works very well.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 7931] Default configuration for Cubieboard v1 is outdated

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=7931

--- Comment #4 from Thomas Petazzoni <[email protected]> 2015-06-03 01:11:41 UTC --- Well, can you submit a patch to update the cubieboard_defconfig file?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 7931] Default configuration for Cubieboard v1 is outdated

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=7931

--- Comment #5 from mfld.fr at gmail.com 2015-06-07 18:21:50 UTC --- Created attachment 6061
--> https://bugs.busybox.net/attachment.cgi?id=6061
Change kernel GIT version

This patch just changes the version sourced by BuildRoot to get the right Linux-Sunxi 3.4 (latest commit), not the 3.0.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 7931] Default configuration for Cubieboard v1 is outdated

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=7931

--- Comment #6 from Thomas Petazzoni <[email protected]> 2015-06-08 07:21:40 UTC --- Thanks!

Could you submit that as a patch to the mailing list, by following the submission guidelines at
http://buildroot.org/downloads/manual/manual.html#submitting-patches ?

Thanks a lot!

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#7 lore raw

[Buildroot] [Bug 7931] Default configuration for Cubieboard v1 is outdated

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=7931

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Thomas Petazzoni <[email protected]> 2015-10-15 08:48:32 UTC --- Fixed by
http://git.buildroot.net/buildroot/commit/?id=fe277eac1f97050d3f9c7f9d3d1558ca4a1707d0.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.