U-Boot versions

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Boot from SD)
(Exchg bootloader with U-Boot)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Bootloader}}
 
{{Bootloader}}
Bootloader versions are a bit tricky. Here we have a collection of tested [[bootloader]]s and associated bugs.
+
{{Todo|Update or remove?}}
  
== Tested versions ==
+
'''Note : contents of this page are probably far too outdated.'''
  
{| class="wikitable sortable" style="margin: 0em " cellspacing="0" cellpadding="3" border="1"  
+
U-Boot versions are a bit tricky. Here we have a collection of tested [[U-Boot]]s and associated bugs.
 +
 
 +
== Identifying version for a u-boot.bin image ==
 +
 
 +
The following command should tell you which version of a U-Boot is contained in a particular image :
 +
<pre>
 +
$ strings gta02v5_and_up-u-boot.bin  | grep U-Boot
 +
</pre>
 +
== Identifying current boot-loader version ==
 +
 
 +
The version is displayed on top of the booloader's menu.
 +
 
 +
Being connected to it, the ''version'' command can also be used.
 +
 
 +
You can also check current boot-loader version from running openmoko system:
 +
<pre>
 +
$strings /dev/mtd1 | grep Bootloader
 +
</pre>
 +
== Installing another U-Boot version ==
 +
 
 +
See [[Flashing_the_Neo_FreeRunner#Flashing_the_boot_loader_to_the_NAND]] for instance.
 +
 
 +
----
 +
 
 +
= Archives =
 +
== Tested versions (obsolete) ==
 +
 
 +
{| class="wikitable sortable" style="margin: 0em " cellspacing="0" cellpadding="3" border="1"
 
! U-Boot version  !! Comment !! Hang on boot !! ttyACM0 flowcontrol !! Boot from SD
 
! U-Boot version  !! Comment !! Hang on boot !! ttyACM0 flowcontrol !! Boot from SD
 
|-
 
|-
Line 13: Line 40:
 
| 1.2.0-moko9_r13 || "good-for-sd-boot" || hangs || ? || works
 
| 1.2.0-moko9_r13 || "good-for-sd-boot" || hangs || ? || works
 
|}
 
|}
 +
 +
 +
== GLAMO improvements ==
 +
 +
A "major" version is available at gena2x's site, read more about it at [[u-boot-gena2x]]
 +
 +
As reported in the following thread:
 +
http://lists.openmoko.org/pipermail/community/2010-July/062495.html
 +
it allows for better performances in the glamo usage.
  
 
== Bugs ==
 
== Bugs ==
Line 26: Line 62:
 
Bug #? ([http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1005#c4 Comment 4 here?])
 
Bug #? ([http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1005#c4 Comment 4 here?])
  
In the USB u-boot console, fast input seems to work but fast output is buggy: for example, random parts of printenv go missing.  
+
In the USB U-Boot console, fast input seems to work but fast output is buggy: for example, random parts of printenv go missing.
  
 
=== Boot from SD===
 
=== Boot from SD===
Line 34: Line 70:
 
Booting from SD fails. mmcinit works but trying to access the filesystem causes a crash.
 
Booting from SD fails. mmcinit works but trying to access the filesystem causes a crash.
  
[[Category:System Developers]]
+
[[Category:Bootloaders]]

Latest revision as of 09:18, 10 February 2012

Bootloaders
TODO: Update or remove? (See: To-Do List)

Note : contents of this page are probably far too outdated.

U-Boot versions are a bit tricky. Here we have a collection of tested U-Boots and associated bugs.

Contents

[edit] Identifying version for a u-boot.bin image

The following command should tell you which version of a U-Boot is contained in a particular image :

$ strings gta02v5_and_up-u-boot.bin  | grep U-Boot

[edit] Identifying current boot-loader version

The version is displayed on top of the booloader's menu.

Being connected to it, the version command can also be used.

You can also check current boot-loader version from running openmoko system:

$strings /dev/mtd1 | grep Bootloader

[edit] Installing another U-Boot version

See Flashing_the_Neo_FreeRunner#Flashing_the_boot_loader_to_the_NAND for instance.


[edit] Archives

[edit] Tested versions (obsolete)

U-Boot version Comment Hang on boot ttyACM0 flowcontrol Boot from SD
1.2.0-moko9_r0 2007.08 snapshot no hangs a bit buggy crashes
1.2.0-moko9_r8 SH1-included no hangs a bit buggy works
1.2.0-moko9_r13 "good-for-sd-boot" hangs  ? works


[edit] GLAMO improvements

A "major" version is available at gena2x's site, read more about it at u-boot-gena2x

As reported in the following thread: http://lists.openmoko.org/pipermail/community/2010-July/062495.html it allows for better performances in the glamo usage.

[edit] Bugs

[edit] Hang on boot

Bug #887: U-Boot initialization race condition: Hangs on boot

Booting directly makes the kernel oops, but booting via the menu works.

[edit] ttyACM0 flowcontrol

Bug #? (Comment 4 here?)

In the USB U-Boot console, fast input seems to work but fast output is buggy: for example, random parts of printenv go missing.

[edit] Boot from SD

Bug #799: data abort while reading from SD Cards

Booting from SD fails. mmcinit works but trying to access the filesystem causes a crash.

Personal tools
Bootloaders

Bootloader versions are a bit tricky. Here we have a collection of tested bootloaders and associated bugs.

Tested versions

U-Boot version Comment Hang on boot ttyACM0 flowcontrol Boot from SD
1.2.0-moko9_r0 2007.08 snapshot no hangs a bit buggy crashes
1.2.0-moko9_r8 SH1-included no hangs a bit buggy works
1.2.0-moko9_r13 "good-for-sd-boot" hangs  ? works

Bugs

Hang on boot

Bug #887: U-Boot initialization race condition: Hangs on boot

Booting directly makes the kernel oops, but booting via the menu works.

ttyACM0 flowcontrol

Bug #? (Comment 4 here?)

In the USB u-boot console, fast input seems to work but fast output is buggy: for example, random parts of printenv go missing.

Boot from SD

Bug #799: data abort while reading from SD Cards

Booting from SD fails. mmcinit works but trying to access the filesystem causes a crash.