U-Boot versions

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Exchg bootloader with U-Boot)
 
(7 intermediate revisions by 6 users not shown)
Line 4: Line 4:
 
'''Note : contents of this page are probably far too outdated.'''
 
'''Note : contents of this page are probably far too outdated.'''
  
Bootloader versions are a bit tricky. Here we have a collection of tested [[bootloader]]s and associated bugs.
+
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 ==
 
== Identifying version for a u-boot.bin image ==
  
The following command should tell you which version of a bootloader is contained in a particular 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
+
$ strings gta02v5_and_up-u-boot.bin  | grep U-Boot
 
+
</pre>
 
== Identifying current boot-loader version ==
 
== Identifying current boot-loader version ==
  
Line 18: Line 18:
 
Being connected to it, the ''version'' command can also be used.
 
Being connected to it, the ''version'' command can also be used.
  
You can also check current boot-loader version from running openmoko system. See : Flashing_the_Neo_Freerunner#Verifying_boot-loader_version (whose instructions may be more appropriate here ?)
+
You can also check current boot-loader version from running openmoko system:
 
+
<pre>
== Installing another bootloader version ==
+
$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.
 
See [[Flashing_the_Neo_FreeRunner#Flashing_the_boot_loader_to_the_NAND]] for instance.
Line 29: Line 31:
 
== Tested versions (obsolete) ==
 
== Tested versions (obsolete) ==
  
{| class="wikitable sortable" style="margin: 0em " cellspacing="0" cellpadding="3" border="1"  
+
{| 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 38: 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 51: 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 59: 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:Bootloaders]]
[[Category:System Developers]]
+

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
TODO: Update or remove? (See: To-Do List)

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

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

Identifying version for a u-boot.bin image

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

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

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. See : Flashing_the_Neo_Freerunner#Verifying_boot-loader_version (whose instructions may be more appropriate here ?)

Installing another bootloader version

See Flashing_the_Neo_FreeRunner#Flashing_the_boot_loader_to_the_NAND for instance.


Archives

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

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.