Ticket #1701 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

NOR flash - version 1.3.2-moko12 may 9 2008

Reported by: perico Owned by: documentation
Priority: normal Milestone:
Component: documentation Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Hi,
I want to flash my freerunner so I tried as mentioned in de documentation:

  • hold AUX button
  • additional hold the power button

As Result I get the menu. Then I wish to select "set console to USB" using the AUX button. So far so good. When I confirm the selection by using the powerbutton I see the line appearing at the top:

Press [Aux] to return to boot menu

After this message I see the menu again without using the Aux button.

Can you tell me how to deal with this. Do I need to use my debug board as workaround?

peter

Change History

comment:1 Changed 5 years ago by hedora

Did you try running dfu-util after it returned to the main menu? That worked for me (I updated the kernel this way).

Perhaps the problem is with the documentation / user interface.

comment:2 Changed 5 years ago by werner

There's a (short) timeout that makes the boot menu return after a command has
been executed. If you're in a hurry, pressing AUX will return immediately. So
while the console output may be a little confusing, it seems that everything
worked as expected.

What "set console to USB" does is that it enables access to the u-boot console
via USB, e.g., with
neocon -t 30 /dev/ttyACM{0,1,2}

(Note: enter this command literally. neocon will select the device for you.)

neocon lives here:
http://svn.openmoko.org/developers/werner/neocon/

It's not necessary to set the console to USB in order to flash any updates
with dfu-util. The USB console is in fact unavailable while in DFU mode.
DFU mode is entered when using dfu-util and it is exited when dfu-util
successfully completes a run where the options -R and -D were both given.
(Or when u-boot is restarted or when the USB bus is reset.)

comment:3 Changed 5 years ago by hedora

  • Owner changed from hardware to documentation
  • Component changed from hardware to documentation
  • Type changed from defect to enhancement
  • Severity changed from blocker to normal
  • Priority changed from high to normal

I cannot find the confusing text that I thought I saw in the wiki last weekend, so the documentation doesn't need to be corrected.

Someone should add werner's comment to the wiki somewhere (if it's not there), and close the bug.

comment:4 Changed 5 years ago by kempelen

  • Status changed from new to closed
  • Resolution set to fixed

I've restructured that section to an ordered list. It should be easier to understand now, than the old big wall of text. (And it contained the requested information already.)

http://wiki.openmoko.org/wiki/Flashing_the_Neo_FreeRunner#Boot_the_FreeRunner_from_NOR_Flash

Note: See TracTickets for help on using tickets.