kevwhite Posted January 1, 2014 Share Posted January 1, 2014 Hi Guys I have the Alfa AP121 and I get it connected via Putty through serial.. Here is the log below U-Boot 1.1.4 (Jul 24 2013 - 15:16:09) AP121 (ar9331) U-boot DRAM: 64 MB Top of RAM usable for U-Boot at: 84000000 Reserving 149k for U-Boot at: 83fd8000 Reserving 192k for malloc() at: 83fa8000 Reserving 44 Bytes for Board Info at: 83fa7fd4 Reserving 36 Bytes for Global Data at: 83fa7fb0 Reserving 128k for boot params() at: 83f87fb0 Stack Pointer at: 83f87f98 Now running in RAM - U-Boot at: 83fd8000 Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18 flash size 16777216, sector count = 256 Flash: 16 MB Using default environment In: serial Out: serial Err: serial Net: ag7240_enet_initialize... Fetching MAC Address from 0x83ff0608 Fetching MAC Address from 0x83ff0608 : cfg1 0x5 cfg2 0x7114 eth0: 00:c0:ca:74:45:81 eth0 up : cfg1 0xf cfg2 0x7214 eth1: 00:c0:ca:74:45:80 athrs26_reg_init_lan ATHRS26: resetting s26 ATHRS26: s26 reset done eth1 up eth0, eth1 Hit any key to stop autoboot: 0 ## Booting image at 9f050000 ... Bad Magic Number I dont get any option to press 1-3 but I believe it already boots in. I run the first command from the tutorial but the 'saveenv' command isnt found. If I move onto the next step then tftp tries to flash from 192.168.2.100 instead of 192.168.2.11 but the static IP is set within windows for it and shows in ipconfigAny ideas? Thanks, Kevin. Quote Link to comment Share on other sites More sharing options...
kevwhite Posted January 1, 2014 Author Share Posted January 1, 2014 Changed IP to .100 and flashing just now :) Ill let you know how it goes Quote Link to comment Share on other sites More sharing options...
kevwhite Posted January 1, 2014 Author Share Posted January 1, 2014 Completed the flash and getting 'Bad magic number' when trying to boot up. Is this because it is the 64MB version? Quote Link to comment Share on other sites More sharing options...
kevwhite Posted January 1, 2014 Author Share Posted January 1, 2014 ar7240> printenv bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),14336k(rootfs),1600k(uImage),64k(NVRAM),64k(ART) REVISIONID bootcmd=bootm 0x9f050000 bootdelay=4 baudrate=115200 ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee ipaddr=192.168.2.10 serverip=192.168.2.100 stdin=serial stdout=serial stderr=serial ethact=eth0 Environment size: 374/65532 bytes Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted January 1, 2014 Share Posted January 1, 2014 Yes. The 64mb version is NOT compatible. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.