On Sunday 17 February 2013 23:52:25 Aaro Koskinen wrote: > Accept also OMAP3630 in the ASIC ID offset 4. With this patch > it's possible communicate also with N950/N9. When plugging in > the USB cable into a powered-off device, it seems to start in > cold-flash mode, and currently 0xFFFF fails with "Invalid > ASIC ID." > > So far only loading & booting kernel with "0xFFFF -m > kernel:zImage -l -b" has been tested, and it works. > > WARNING: When booting a self-made kernel on N950/N9, NOLO will > detect this and will permanently show a crappy disclaimer > about warranty voided during the boot, even if you boot again > with a stock Nokia kernel. This may also impact some SW > functionality. I have no idea how to reset this condition. > --- > src/cold-flash.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/src/cold-flash.c b/src/cold-flash.c > index 9467832..74a38c7 100644 > --- a/src/cold-flash.c > +++ b/src/cold-flash.c > @@ -319,6 +319,7 @@ int init_cold_flash(struct usb_device_info > * dev) { > > uint8_t asic_buffer[127]; > int asic_size = 69; > + char * chip;
I changed above line to "const char * chip = NULL;" and commited to gitorious 0xFFFF repository: https://gitorious.org/0xffff/0xffff Thanks for both patches! -- Pali Rohár pali.ro...@gmail.com
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ 0xffff mailing list 0xffff@lists.nopcode.org http://lists.nopcode.org/listinfo.cgi/0xffff-nopcode.org