Send buglog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/buglog
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of buglog digest..."
Today's Topics:

   1. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   2. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   3. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   4. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   5. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   6. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   7. Re: Openmoko Bug #2341: u-boot environment isn't saved
      (Openmoko Public Trac)
   8. Re: Openmoko Bug #2340: glamo-mci should use
      MODULE_DEVICE_TABLE (Openmoko Public Trac)
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by aikipooh):

 lindi:

 I've tried to use fw_setenv. I don't understand anything!
 It shows me the environment, it looks ok. I can set the variables there,
 alright. But they have no effect on what i see in u-boot prompt. After
 reboot, when i issue fw_printenv under linux, i see changed values again.
 Looks like we live in different manvantaras.
 Are the settings for GTA02v6 proper?
          /dev/mtd2               0x00000          0x40000         0x20000
 2

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:3>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by lindi):

 Your fw_env.config looks ok. Maybe you are booting u-boot from NOR?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:4>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by aikipooh):

 Replying to [comment:4 lindi]:
 > Your fw_env.config looks ok. Maybe you are booting u-boot from NOR?
 Hm, i'm not very sure in these matters...
 What i'm doing now is trying to make the device work, i have problem with
 highdensity card. I want a kernel that boots (i think the one stored on
 inner flash, it's NAND, no?) to have glamo parameters tweaked from the
 command line. And i've figured that i cannot set the parameters to
 persistent values.
 Maybe i'm doing something terribly wrong, i don't know...

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by lindi):

 What output do you get from

 strings /dev/mtdblock0 | grep ^U-Boot | head -n1

 and

 strings /dev/mtdblock1 | grep ^U-Boot | head -n1

 commands? Also, what version number does u-boot console report?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:6>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by aikipooh):

 Replying to [comment:6 lindi]:
 > What output do you get from
 >
 > strings /dev/mtdblock0 | grep ^U-Boot | head -n1
 No strings on my system, but the first hit of 'od -c /dev/mtdblock0 |grep
 -A5 "U   -"' (if we're lucky and U- are one the same line) looks like:
 0461420   0  \0 006  \0 005  \0  \0  \0  \0  \0  \0  \0   U   -   B   o
 0461440   o   t       1   .   3   .   2   -   m   o   k   o   1   2
 0461460   (   M   a   y           9       2   0   0   8       -       1
 0461500   0   :   2   8   :   4   8   )  \0  \0  \0  \0 234   z 372   3

 >
 > and
 >
 > strings /dev/mtdblock1 | grep ^U-Boot | head -n1
 I cannot find anything there (tried with different possible lines
 splitting)

 >
 > commands? Also, what version number does u-boot console report?
 It's 1.3.2-moko12

 PS. Funny, trac interprets carets in text...

 PS. I'm answering to gena2x too, i'm confused now.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:7>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by aikipooh):

 Replying to [comment:2 gena2x]:
 > also you can try to prepare environment on your host and flash it
 directly via dfu-util. to do this use tools from here:
 http://svn.openmoko.org/trunk/src/host/devirginator/
 >
 > you need envedit.pl
 >
 > only difficult thing - adjust your environment size for gta02 or it will
 not work. i think it should be 2564 but unsure.
 I've tried with envedit.pl, and there they are, my settings. But i don't
 see them in /proc/cmdline. That must be because of my misunderstanding of
 the boot process, they're fetched from wrong place...

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:8>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2341: u-boot environment isn't saved
----------------------+-----------------------------------------------------
 Reporter:  aikipooh  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  highest   |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  critical  |       Keywords:  nand          
 Haspatch:  0         |      Blockedby:                
Estimated:            |    Patchreview:                
 Blocking:            |   Reproducible:  always        
----------------------+-----------------------------------------------------

Comment(by lindi):

 aikipooh, your NOR has u-boot 1.3.2-moko12. Your NAND does not seem to
 have u-boot. You can not modify NOR. Maybe your AUX button is stuck so
 that you always boot NOR?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2341#comment:9>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2340: glamo-mci should use MODULE_DEVICE_TABLE
----------------------------+-----------------------------------------------
    Reporter:  ThibG        |        Owner:  openmoko-kernel
        Type:  enhancement  |       Status:  closed         
    Priority:  normal       |    Milestone:                 
   Component:  kernel       |      Version:  unspecified    
    Severity:  normal       |   Resolution:  fixed          
    Keywords:               |     Haspatch:  1              
   Blockedby:               |    Estimated:                 
 Patchreview:               |     Blocking:                 
Reproducible:               |  
----------------------------+-----------------------------------------------
Changes (by lars):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Hi

 Thanks, I applied your patch.

 - Lars

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2340#comment:3>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
_______________________________________________
buglog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/buglog

Reply via email to