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

Reply via email to