summaryrefslogtreecommitdiffstats
path: root/src/cold-flash.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-18cold-flash: accept also OMAP3630 in the ASIC IDAaro Koskinen1-3/+8
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.
2013-02-18cold-flash: correct chip/soc nameAaro Koskinen1-2/+2
RX-51/N900 has OMAP3430, and it seems this is what the ASIC ID field at offset 4 refers to. Fix the comment and printf.
2012-11-21cold-flash: Decrease usleep time after leave_cold_flashPali Rohár1-1/+1
2012-09-23Added macro PRINTF_ERROR_RETURN which working with progressbarPali Rohár1-2/+2
2012-09-23cold-flash: Added function init_cold_flash, basic check if asic id is correctPali Rohár1-23/+59
2012-08-12cold-flash: Add all omap boot messagesPali Rohár1-0/+27
2012-08-11image_read returns size_t, so 0 when error or end of filePali Rohár1-3/+3
2012-08-11Rewrite Makefile, move WITH_DEVICE, WITH_USB and WITH_SQUEUES to MakefilePali Rohár1-1/+2
2012-08-11cold-flash: Rewrite error messages and return negative error values, -EAGAIN ↵Pali Rohár1-78/+47
if not in cold flash mode
2012-08-10Move checking for flashing protocol from main to cold-flashPali Rohár1-0/+12
2012-08-10cold-flash: Use struct usb_device_infoPali Rohár1-8/+8
2012-08-09Rename usb_device to usb-device, fix includesPali Rohár1-0/+1
2012-08-08cold-flash: Remove usb_detach_kernel_driver_np and usb_claim_interface, now ↵Pali Rohár1-18/+0
handled in usb_device.c
2012-08-08cold-flash: Fix usb_set_configuration and usb_claim_interface, Update ↵Pali Rohár1-11/+56
information about OMAP boot messages, implement function leave_cold_flash
2012-08-08cold-flash: prepair cold-flash codePali Rohár1-108/+57
2012-06-23Cold Flasher - Remove duplicate usb code, prepair for flashing form fiasco ↵Pali Rohár1-147/+95
images
2012-06-23Import my open source tool for Cold Flashing: cold-flasher-rx51.cPali Rohár1-0/+440