When trying to compile and boot from u-boot (after make distclean ;
make MPC8272ADS_config ; make), I had these three errors:

Loading Device Tree to 007fb000, end 007ff159 ... OK
Unable to update property /cpus/c...@0:bus-frequency, err=FDT_ERR_NOTFOUND
Unable to update property /cpus/c...@0:timebase-frequency, err=FDT_ERR_NOTFOUND
Unable to update property /cpus/c...@0:clock-frequency, err=FDT_ERR_NOTFOUND

When looking at the include/configs/MPC8260ADS.h file, the OF_CPU was
set to "c...@0".
In the linux kernel, the dts file in
arch/powerpc/boot/dts/mpc8272ads.dts contains "PowerPC,8...@0".

Here is the little patch I am proposing in order to correct this issue
for the MPC8272ADS board.

Best Regards.
JM

---------------------------------------------------------------

--- a/include/configs/MPC8260ADS.h
+++ b/include/configs/MPC8260ADS.h

@@ -200,7 +200,11 @@
 #define CONFIG_OF_LIBFDT       1
 #define CONFIG_OF_BOARD_SETUP  1
 #if defined(CONFIG_OF_LIBFDT)
+#ifdef CONFIG_MPC8272
+#define OF_CPU                 "PowerPC,8...@0"
+#else
 #define OF_CPU                 "c...@0"
+#endif
 #define OF_TBCLK               (bd->bi_busfreq / 4)
 #endif
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to