[Armadeus-commitlog] SF.net SVN: armadeus:[1140] trunk/buildroot/target/u-boot/u-boot-1.3. 4-310-ap
Brought to you by:
sszy
|
From: <th...@us...> - 2009-03-10 17:22:28
|
Revision: 1140
http://armadeus.svn.sourceforge.net/armadeus/?rev=1140&view=rev
Author: thom25
Date: 2009-03-10 17:22:19 +0000 (Tue, 10 Mar 2009)
Log Message:
-----------
[U-BOOT] fix bug FPGA autoload (ticket 34)
Modified Paths:
--------------
trunk/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch
Modified: trunk/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch
===================================================================
--- trunk/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch 2009-03-10 14:32:12 UTC (rev 1139)
+++ trunk/buildroot/target/u-boot/u-boot-1.3.4-310-apf27.patch 2009-03-10 17:22:19 UTC (rev 1140)
@@ -39,7 +39,7 @@
+
+ blocksize = nand_info[0].erasesize;
+
-+ while (amount_loaded < CFG_ENV_SIZE && offset < end) {
++ while (offset < end) {
+ if (nand_block_isbad(&nand_info[0], offset)) {
+ offset += blocksize;
+ } else {
@@ -141,7 +141,7 @@
+ end = offset + simple_strtoul(s, NULL, 16);
+ }
+ if ((-1 != offset) && (offset != end)) {
-+ size = read_firmware (offset, end, firmware_buffer);
++ size = read_firmware (offset, end, firmware_buffer);
+ }
+ }
+ APF27_init_fpga (firmware_buffer, size);
@@ -200,7 +200,7 @@
+CONFIG_NAND_U_BOOT = y
--- ref/u-boot-1.3.4/board/armadeus/apf27/fpga.c 1970-01-01 01:00:00.000000000 +0100
+++ u-boot-1.3.4/board/armadeus/apf27/fpga.c 2008-12-29 16:27:49.000000000 +0100
-@@ -0,0 +1,253 @@
+@@ -0,0 +1,255 @@
+ /*
+ * (C) Copyright 2002-2008
+ * Eric Jarrige <eri...@ar...>
@@ -449,6 +449,8 @@
+ lout = 1;
+ printf("Firmware download failed!\n");
+ }
++ else
++ printf("Firmware successfully programmed\n");
+ }
+ return lout;
+ }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|