summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps
diff options
context:
space:
mode:
authormatt2009-05-25 19:26:40 +0000
committermatt2009-05-25 19:26:40 +0000
commit9900520b6a269f9b18acb176eee93787dd87dbe1 (patch)
tree77d3eeb6a19665d4755025c333bda2179aee609a /usrp2/firmware/apps
parent803c7b12891f48df0eaad3d6e527a776987cf106 (diff)
downloadgnuradio-9900520b6a269f9b18acb176eee93787dd87dbe1.tar.gz
gnuradio-9900520b6a269f9b18acb176eee93787dd87dbe1.tar.bz2
gnuradio-9900520b6a269f9b18acb176eee93787dd87dbe1.zip
remove EEPROM setting, complete tests even if SD fails
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11118 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/apps')
-rw-r--r--usrp2/firmware/apps/factory_test.c25
1 files changed, 5 insertions, 20 deletions
diff --git a/usrp2/firmware/apps/factory_test.c b/usrp2/firmware/apps/factory_test.c
index 1f8d936a2..b4b44dbdb 100644
--- a/usrp2/firmware/apps/factory_test.c
+++ b/usrp2/firmware/apps/factory_test.c
@@ -40,9 +40,6 @@
#include <clocks.h>
#include "sd.h"
-#define HW_REV_MAJOR 3
-#define HW_REV_MINOR 1
-
#define FW_SETS_SEQNO 1 // define to 0 or 1 (FIXME must be 1 for now)
#if (FW_SETS_SEQNO)
@@ -329,29 +326,17 @@ main(void)
{
u2_init();
- putstr("\nFactory Test TXRX\n");
-
- bool ok = true;
- unsigned char maj = HW_REV_MAJOR;
- unsigned char min = HW_REV_MINOR;
- ok = eeprom_write(I2C_ADDR_MBOARD, MBOARD_REV_MSB, &maj, 1);
- ok &= eeprom_write(I2C_ADDR_MBOARD, MBOARD_REV_LSB, &min, 1);
+ putstr("\nFactory Test\n");
- putstr("\nset_hw_rev\n");
- if (ok)
- printf("OK: set h/w rev to %d.%d\n", HW_REV_MAJOR, HW_REV_MINOR);
- else {
- printf("FAILED to set h/w rev to %d.%d\n", HW_REV_MAJOR, HW_REV_MINOR);
- hal_finish();
- return 0;
- }
+ print_mac_addr(ethernet_mac_addr()->addr);
+ newline();
if(test_sd())
puts("SD OK\n");
else {
puts("SD FAIL\n");
- hal_finish();
- return 0;
+ // hal_finish();
+ //return 0;
}
if(test_ram())
puts("RAM OK\n");