• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: USB trap  (Read 1193 times)
spinifex
Full Member
***

Karma: 8
Posts: 167



View Profile WWW
« on: May 03, 2011, 06:52:36 PM »

(Using 3.4.27+pingtoo patch)

While upgrading a kernel on a USB drive, I could not figure why I still had the old kernel after the upgrade. The trap was my uBoot parameters for booting from USB. This uses the reset after the bootm to handle the intermitent case when the ext2load fails.

Code:
usb start;ext2load usb 0:1 0x8000000 /uImage; bootm 0x8000000;reset

The catch is that without initializing the memory the bootm command will load what was last in memory, I was suprised to find out that 'reset' does not initialize. I have changed my USB boot to:

Code:
mw 0x8000000 0 1000;usb start;ext2load usb 0:1 0x8000000 /uImage; bootm 0x8000000;reset
Logged

Pages: [1]
Print
Jump to: