Hi Rene,

looks like I spoke too soon, I did a "Cleanup -build" and tried a full re-build, and it's failing in the kernel headers now.

The actual problem is that the defconfig settings are also used in the kernel builds, but the defconfig naming is different between the kernel & uboot. This may also be worsened by the fact that the kernel for the Pi is pinned at 3.19 (2012 vintage), with a lot of Pi specific patches, but the u-boot version is from Nov 2016. so the list of defconfig files may have changed a lot since 2012. The newer kernels now have a lot of built in support for the Raspberry Pi, and the defconfigs may now be a better match.

That being said, I don't want to jump ahead of things and update the kernel just now, since I am at the point of just trying to get through the build process, and don't want to unknowingly add any run-time surprises, I will try some further changes later today, to revert the SDECFG_ARM_BOARDDEF='versatile' to keep the kernel happy, but then override it with a value that makes u-boot happy, during the u-boot build.

Once I have something running, I will consider updating the kernel.


Jan


On 12/28/2016 8:54 AM, René Rebe wrote:
Hi Jan,

looks reasonable - manual copy’n pasted:

Committed revision 45223.

Seasonal greetings,
        René

On Dec 27, 2016, at 18:11, Jan Rovins <[email protected]> wrote:

One of the Pi failures was in u-boot, the T2 configuration was asking for the 
'versatile' defconfig, but that does not exist in the u-boot source tree.  But 
they do have some defconfigs to cover various models of the raspberry pi (rpi 
rpi_2 rpi_3)

I got u-boot to build by changing the SDECFG_ARM_BOARDDEF to be 'rpi', and also 
adding that option to the architecture/arm/config.in  file.

I am not sure if this is the proper fix, since I don't know what else 
SDECFG_ARM_BOARDDEF is used for. if it's only used for u-boot, then this will 
work, if other packages use SDECFG_ARM_BOARDDE, then the 'rpi' setting may not 
work.

I would like a build that would run on all versions of the Pi, so I am using 
'rpi'instead of 'rpi_3', but I am not sure if this will work yet.


===================================================================
--- target/rasperrypi/config.in (revision 45213)
+++ target/rasperrypi/config.in (working copy)
@@ -23,7 +23,9 @@
SDECFGSET_ARM_ENDIANESS='el'
SDECFGSET_ARM_OPT='arm1176jzf-s'
SDECFGSET_ARM_ABI='gnueabi'
-SDECFG_ARM_BOARDDEF='versatile'
+#SDECFG_ARM_BOARDDEF='versatile'
+#SDECFG_ARM_BOARDDEF='rpi_3'
+SDECFG_ARM_BOARDDEF='rpi'
SDECFG_ARM_THUMB='0'
SDECFG_SOFTFLOAT='0'

===================================================================
--- architecture/arm/config.in  (revision 45213)
+++ architecture/arm/config.in  (working copy)
@@ -194,6 +194,7 @@
        realview        "realview Board" \
        realview-smp    "realview-smp Board" \
        rpc             "rpc Board" \
+       rpi             "Raspberry Pi Board" \
        s3c2410         "s3c2410 Board" \
        sam9_l9260      "sam9_l9260 Board" \
        shannon         "shannon Board" \
Index: package/base/glibc/glibc.conf
===================================================================

Jan



----------------------------------------------------------- If you wish to 
unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to