From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 10 Jul 2008 01:00:51 +0200 Subject: [U-Boot-Users] [PATCH] at91: Fix to enable using Teridian MII phy (78Q21x3) with at91sam9260 In-Reply-To: <4874B6AF.40400@feig.de> References: <484E4FC8.9000004@feig.de> <484EE57C.3070603@denx.de> <484F6FD3.5050003@feig.de> <484F8220.1050606@denx.de> <4858BB99.8020703@feig.de> <48731F50.7030802@denx.de> <4874B6AF.40400@feig.de> Message-ID: <48754323.3050000@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Manuel Sahm wrote: > if I apply the patch with: > > patch -p1 < patchat91.diff > > some messages occur, is this correct ? > > > (Stripping trailing CRs from patch.) > patching file board/atmel/at91sam9260ek/at91sam9260ek.c > patch unexpectedly ends in middle of line > Hunk #1 succeeded at 183 with fuzz 2 (offset -5 lines). it is very likely that these messages occur because the patch was incorrectly saved from the email body. This patch applies cleanly against top of our u-boot git tree. > The description is correct - PA23 and PA24 are connected to the TWI > EEPROM an the DevBoard at91sam9260ek. > The patch works well. > Here the signed-off line: > > Signed-off-by: Manuel Sahm Thanks, I will repost the patch again. > Another problem is, that the same error is in the official kernel tree > in the file at91sam9260ek_devices.c ?! > Although the error is still in the kernel, a modification of the uboot > file at91sam9260ek.c is enough to get ethernet working ? if the kernel resets Peripheral B pin configuration, then ethernet will stop working, I think. This should be fixed in the kernel code, too. Best regards, Anatolij