[coreboot] [GSoC] Re: usbrom debugging

Stefan Reinauer stepan at coresystems.de
Sun Aug 23 00:09:41 CEST 2009


On 8/22/09 11:45 PM, Kevin O'Connor wrote:
> On Sun, Aug 23, 2009 at 04:03:40AM +0800, Jason Wang wrote:
>   
>> Hi all,
>>     I am trying to debug why the grub crashed (under usbrom) after loading
>> certain blocks into the memory.
>> My new found is that while usbrom is trying to load (block lba=0x0019a9e0).
>> it crashed. the flow is
>> usb_new_read(0,0x0019a9e0,0x20,0xfffa2000), 0x20 is the count which should
>> be read, and the 0xfffa2000 is the
>> virtual address of (0x70000).
>> usb_new_read call readwrite_blocks then execute_command. after executed
>> wrap_cbw in execute_command.
>> it should call dev->controller->bulk, this address is a wrong address. my
>> debug information are below:
>>     
> Where in memory is "dev->controller->bulk"?  You way want to check if
> its contents were overwritten by something (eg, grub, linux, seabios,
> or a data block loaded by the usb rom).
>   

Can / should usbrom use PMM for its heap and stack?

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list