Re: RBTX4927 with VxWorks boot loader crashes in prom_getenv()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi Nemoto-san,

On Fri, 24 Oct 2008, Atsushi Nemoto wrote:
> On Fri, 24 Oct 2008 11:39:07 +0200 (CEST), Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> wrote:
> > My RBTX4927 with VxWorks boot loader crashes in prom_getenv() since commit
> > 860e546c19d88c21819c7f0861c505debd2d6eed ("MIPS: TXx9: Early command-line
> > preprocessing"):
> ...
> > | fw_arg0 = 0x80002000
> > | fw_arg1 = 0x80001fe0
> > | fw_arg2 = 0x2000
> > | fw_arg3 = 0x20
> > 
> > So your assumption that bootloaders other than YAMON pass NULL for fw_arg2 is
> > apparently wrong.
> 
> Indeed.  We should know what sort of value was passed by fw_arg2, and
> I hope auto-detection.
> 
> Do you know what value the boot loader passes via fw_arg2?  If fw_arg2

Unfortunately not. I'll try to Google a bit for it...

> is always small integer (i.e. a not KSEG0/KSEG1 address), we can
> autodetect fw_arg2 was a pointer or not.

Exactly my thoughts.

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@xxxxxxxxxxx
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux