All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9326] New: Odroid-C2 build results in non-bootable image
@ 2016-10-02  1:05 bugzilla at busybox.net
  2016-10-04 18:49 ` [Buildroot] [Bug 9326] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-10-02  1:05 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 9326
           Summary: Odroid-C2 build results in non-bootable image
           Product: buildroot
           Version: 2016.08
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Outdated package
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: gahabana at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Building default image for Odroid-C2":

make odroidc2_defconfig
make menuconfig
make

burn resulting 'sdcard.img' to SD-card and image can not be booted. Light on
the board/Odroid stays blue and does not start to blink (kernel heart-beat
never starts).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 9326] Odroid-C2 build results in non-bootable image
  2016-10-02  1:05 [Buildroot] [Bug 9326] New: Odroid-C2 build results in non-bootable image bugzilla at busybox.net
@ 2016-10-04 18:49 ` bugzilla at busybox.net
  2016-10-04 22:17 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-10-04 18:49 UTC (permalink / raw)
  To: buildroot

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

gahabana at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|All                         |Other
           Priority|P5                          |P4
                 CC|                            |gahabana at gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 9326] Odroid-C2 build results in non-bootable image
  2016-10-02  1:05 [Buildroot] [Bug 9326] New: Odroid-C2 build results in non-bootable image bugzilla at busybox.net
  2016-10-04 18:49 ` [Buildroot] [Bug 9326] " bugzilla at busybox.net
@ 2016-10-04 22:17 ` bugzilla at busybox.net
  2016-10-05  9:39 ` bugzilla at busybox.net
  2016-10-06 15:49 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-10-04 22:17 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Erico Nunes <nunes.erico@gmail.com> ---
I have tested odroidc2_defconfig with today's master (426a84c2fe) on my
odroid-c2 and I can confirm that it isn't working out of the box with make
odroidc2_defconfig && make.

By monitoring the serial I see that it loads u-boot fine but hangs when it
boots the kernel, after the messages:
"Starting kernel ...

uboot time: 4167629 us"


I have debugged it a bit further though and found that:

- It works if you change the toolchain to a gcc 4.9.x version. Therefore, it's
likely that this has stopped worked recently when we changed the default gcc
version to 5.x for buildroot toolchains in commit e6ee58de3e.

- Bumping the odroid-c2 kernel to the HEAD of the hardkernel odroidc2-3.14.y
branch and u-boot to a newer commit in the hardkernel odroidc2-v2015.01 branch
(the HEAD doesn't build for me with gcc 5.x) doesn't seem to have the problem
fixed.

So, it looks like the hardkernel branches have trouble with gcc 5.x and one way
of "fixing" it would be to make odroidc2_defconfig default to gcc 4.9.x, what
do you think?
As this is a vendor downstream kernel and u-boot, it's probably not worth to
spend more time debugging it, we could do that and open an issue with them or
just wait until upstream supports this board, which should happen eventually.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 9326] Odroid-C2 build results in non-bootable image
  2016-10-02  1:05 [Buildroot] [Bug 9326] New: Odroid-C2 build results in non-bootable image bugzilla at busybox.net
  2016-10-04 18:49 ` [Buildroot] [Bug 9326] " bugzilla at busybox.net
  2016-10-04 22:17 ` bugzilla at busybox.net
@ 2016-10-05  9:39 ` bugzilla at busybox.net
  2016-10-06 15:49 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-10-05  9:39 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from gahabana at gmail.com ---
hi @Erico, 
great points - am travelling until weekend, but can confirm (remotely) that by
changing the Toolchain to gcc-4.9, it builds just fine. I assume it will work.
Is there a possibility within buildroot to tell it that for Kernel and U-Boot
it should use GCC < 5.0 and the rest of the packages can/could be built on 5.x
(so that we keep older toolchain for Odroid-C2 kernel/uboot) and newer for
packages ? Should be more compatible/tested down the road, but i am not sure
how that could be added to package files ?

thank you !

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 9326] Odroid-C2 build results in non-bootable image
  2016-10-02  1:05 [Buildroot] [Bug 9326] New: Odroid-C2 build results in non-bootable image bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2016-10-05  9:39 ` bugzilla at busybox.net
@ 2016-10-06 15:49 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-10-06 15:49 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed in git:

https://git.buildroot.org/buildroot/commit/?id=6f162f27edf45a99bedd1c15eeb4d947b9e51f57

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-06 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-02  1:05 [Buildroot] [Bug 9326] New: Odroid-C2 build results in non-bootable image bugzilla at busybox.net
2016-10-04 18:49 ` [Buildroot] [Bug 9326] " bugzilla at busybox.net
2016-10-04 22:17 ` bugzilla at busybox.net
2016-10-05  9:39 ` bugzilla at busybox.net
2016-10-06 15:49 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.