
Hi Heiko,
-----Original Message----- From: Heiko Schocher [mailto:hs@denx.de] Sent: 2017年2月14日 14:26 To: Tom Rini trini@konsulko.com; Tony Yang - A41535 Wenyou.Yang@microchip.com Cc: u-boot@lists.denx.de; Andreas Bießmann andreas.devel@googlemail.com; Joe Hershberger joe.hershberger@ni.com Subject: Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released
Hello Tom,
Am 14.02.2017 um 06:38 schrieb Heiko Schocher:
Hello Tom,
Am 14.02.2017 um 00:01 schrieb Tom Rini:
Hey all,
It's release day and v2017.03-rc2 is out. I think my patchwork queue is looking good currently but I'm open to being told there's important stuff outstanding. I'm probably going to grab some Kconfig things and perhaps other cleanups I can mechanically confirm are correct. Things are on track for -rc3 on the 27th.
Hmm.. my weekly test of current mainline u-boot shows a problem with the at91 based smartweb and corvus boards:
smartweb log: U-Boot 2017.03-rc2-00002-g6484233 (Feb 14 2017 - 03:01:05 +0100)
CPU: AT91SAM9260 Crystal frequency: 18.432 MHz CPU clock : 198.656 MHz Master clock : 99.328 MHz Watchdog enabled DRAM: 64 MiB NAND: 256 MiB In: serial@fffff200 Out: serial@fffff200 Err: serial@fffff200 Net: No ethernet found. U-Boot#
corvus: U-Boot SPL 2017.03-rc2-00002-g0d9386a (Feb 14 2017 - 03:41:27) Trying to boot from NAND
U-Boot 2017.03-rc2-00002-g0d9386a (Feb 14 2017 - 03:41:27 +0100)
CPU: AT91SAM9G45 Crystal frequency: 12 MHz CPU clock : 400 MHz Master clock : 133.333 MHz DRAM: 128 MiB NAND: 256 MiB In: serial@ffffee00 Out: serial@ffffee00 Err: serial@ffffee00 Net: No ethernet found. Hit any key to stop autoboot U-Boot>
No ethernet found with current mainline,
Last week it ethernet worked: xeidos.ddns.net/tests/test_db_auslesen.php#237 xeidos.ddns.net/tests/test_db_auslesen.php#236
I try to find time to look into it ... added Andreas to it, may he know something ...
Could bisect it (not yet automated with tbot, as without ethernet, I had to load the new u-boot bin with "loadb" ...)
pollux:u-boot-smartweb hs [(kein Branch, binäre Suche begonnen bei master)] $ git bisect visualize commit 577aa3b3587193ee078ce83d918604da6ac84dd5 Author: Wenyou Yang wenyou.yang@atmel.com Date: Wed Nov 2 10:06:56 2016 +0800
net: macb: Add the clock support Due to introducing the at91 clock driver, add the clock support. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> pollux:u-boot-
smartweb hs [(kein Branch, binäre Suche begonnen bei master)] $ git bisect log git bisect start # bad: [6484233c463a1b79bae651a7fa8504a838425eb7] dfu: introduce dfu_mtd support git bisect bad 6484233c463a1b79bae651a7fa8504a838425eb7 # good: [446d4e048ee3b00f7907e15cd02aa404cc714c77] x86: make LOAD_FROM_32_BIT visible for platforms git bisect good 446d4e048ee3b00f7907e15cd02aa404cc714c77 # good: [6f57b19857b514f6e94e423c9bbe2d4b8973a0db] Merge branch 'master' of git://git.denx.de/u-boot-mmc git bisect good 6f57b19857b514f6e94e423c9bbe2d4b8973a0db # bad: [2a48b3a2c4ec0f1775deeac5cfe7e61072b6b894] omap_hsmmc.c: Fix build warning on non-omap3 git bisect bad 2a48b3a2c4ec0f1775deeac5cfe7e61072b6b894 # bad: [83cfbeb0df9f5962a16e8737e08cf59ed84e0cff] net: phy: Fix mask so that we can identify Marvell 88E1518 git bisect bad 83cfbeb0df9f5962a16e8737e08cf59ed84e0cff # bad: [9f455bcb34fcab31b0eb8eec5702105c8d4bde18] net: cosmetic: Make the MAC address string less magical git bisect bad 9f455bcb34fcab31b0eb8eec5702105c8d4bde18 # bad: [577aa3b3587193ee078ce83d918604da6ac84dd5] net: macb: Add the clock support git bisect bad 577aa3b3587193ee078ce83d918604da6ac84dd5 # good: [ebcb40a5a02adc153db949d59e9df9bf0d89b6ec] net: Kconfig: Add CONFIG_MACB option git bisect good ebcb40a5a02adc153db949d59e9df9bf0d89b6ec # first bad commit: [577aa3b3587193ee078ce83d918604da6ac84dd5] net: macb: Add the clock support pollux:u-boot-smartweb hs [(kein Branch, binäre Suche begonnen bei master)] $
A fast revert of this patch, and u-boot works with ethernet again on the smartweb board ... any ideas?
The clock code should be enclosed by the conditional macro, such as #ifdef CONFIG_CLK ... #endif.
I missed it. Sorry.
Will send a patch to fix.
bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Best Regards, Wenyou Yangls