Dear "sywang",

In message <E1A60D3A6B5245C9B642C3CC81EACF61@sywangPC> you wrote:
> 
> In my scenario, I want to write the panic info into the flash, but the panic

If the system panics, you must not assume that there is any working
code left that is capable of writing to flash memory.

> is caused by interrupt routine, I cannot access the flash, so I think that
> if the flash-write function from u-boot can be called, the issue should be
> resolved. 

I told you before that there is no U-Boot code available anywhere once
Linux started execution.

You may look into the shared log buffer feature - if Linux dumps it's
log messages into it's log buffer, this information can be picked up
by U-Boot from there, and even passed on to the next booting Linux
kernel.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Forty two.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to