Jump to content

Flashing through Serial Issues


Recommended Posts

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
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: 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 instead of but the static IP is set within windows for it and shows in ipconfig

Any ideas?
Link to comment
Share on other sites

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










Environment size: 374/65532 bytes
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...