47 Commits

Author SHA1 Message Date
ghollingworth
63391cb52a Fix uninitialised variable 2017-05-27 09:20:53 +01:00
ghollingworth
50fc0f49ea Fix Pi Zero and some CM3 MSD boot cases, also secure boot support 2017-05-26 11:38:12 +01:00
ghollingworth
ec9155c978 Fix problem with enabling MSD on some CM / CM3 devices 2017-05-13 10:28:40 +01:00
Gordon Hollingworth
e89ead9a80 Merge pull request #17 from oandrew/usb_reset
Perform USB device reset  after done serving boot files.
2017-04-22 13:45:58 +01:00
Andrew Onyshchuk
b23f9fa668 Perform USB device reset after done serving boot files.
Without the reset Pi Zero W doesn't boot the kernel.
2017-04-21 21:25:47 -05:00
Gordon Hollingworth
4bcf22e159 Merge pull request #15 from miks/master
Flush stdout buffer immediately
2017-04-06 07:40:09 +01:00
miks
f15abb02e0 Flush stdout buffer immediately
Enable immediately stdout flushing for better integration with
automated sdout parsing from external application.
2017-04-05 22:14:04 +03:00
Gordon Hollingworth
c01bd3b4c2 Merge pull request #11 from ED6E0F17/fixes
Fix memory leak.
2017-01-25 15:52:35 +00:00
hexameron
96fc04cb4f Fix memory leak. 2017-01-25 15:33:40 +00:00
Gordon Hollingworth
20a3c87385 Merge pull request #9 from tvoverbeek/fix-loop-logic
Always re-enumerate BCM2835 after sending bootcode.bin to run the boot file server
2017-01-21 07:15:53 +00:00
Ton van Overbeek
394589d87c Execute both sending bootcode.bin and second stage boot server when
loop=0
2017-01-20 20:42:25 +01:00
Gordon Hollingworth
c7fab44e59 add ./ for rpiboot executable
Since we no longer install rpiboot into /usr/bin then we need ./rpiboot to make it run from the current directory...
2017-01-20 15:11:00 +00:00
Gordon Hollingworth
7343c3e557 Merge pull request #6 from JamesH65/master
Removed unnecessary make install step from readme
2017-01-20 15:09:28 +00:00
Gordon Hollingworth
c2894f315a Remove loop by default 2017-01-20 15:08:50 +00:00
James Hughes
650183454d Removed unnecesary make install step from readme 2017-01-20 14:15:50 +00:00
Gordon Hollingworth
873e6b933c Remove old binaries 2017-01-20 11:53:36 +00:00
Gordon Hollingworth
9e6ff777bb Remove installation of rpiboot to /usr/bin 2017-01-20 11:29:04 +00:00
Gordon Hollingworth
8c6a3a6b09 Added fix from lurch and ED6E0F17 for 64 bit systems. 2017-01-20 11:22:44 +00:00
Gordon Hollingworth
091f8f5029 Don't require sudo to get help... 2017-01-20 11:19:40 +00:00
Gordon Hollingworth
e368f77398 Add a little documentation 2017-01-20 11:11:06 +00:00
Gordon Hollingworth
a76bbdb695 Add extra verbose logging and check return from libusb_control_transfer 2017-01-20 11:11:06 +00:00
ghollingworth
d7b97b343f Changes to add filesystem boot mode 2017-01-20 11:10:49 +00:00
Gordon Hollingworth
18a8985586 Remove replaced files 2017-01-20 10:43:22 +00:00
ghollingworth
f4e3f0f9a3 Update msd.elf to support customised Raspberry Pis 2016-10-03 15:28:47 +01:00
Stephen Warren
83c7ed72a3 Add .gitignore files
This makes "git status" ignore some generated files that shouldn't be
added.
2016-10-03 15:28:47 +01:00
Gordon Hollingworth
1deea82c75 Add CM3 support 2016-10-03 15:28:47 +01:00
James Adams
7dfdce9f7e Update to run under Cygwin 2016-10-03 15:28:46 +01:00
Alistair Buxton
eeba0a9bc4 Fix rpiboot command example. 2016-10-03 15:28:46 +01:00
tmcolby
f563eec252 Update main.c
Added check at top of main() to test if user is running as sudo.  Print message and exit if not run as sudo.
2016-10-03 15:28:46 +01:00
Gordon Hollingworth
f4ff1f08d8 Make sure EMMC_DISABLE gpio on GPIO47 is driven low 2016-10-03 15:28:46 +01:00
Diego Herranz
0519ddafe4 usbboot: Add uninstall target to Makefile plus .PHONY targets. 2016-10-03 15:28:46 +01:00
Diego Herranz
2652a9420f usbboot: Use "%ld" in printf for ftell return value (long int). 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
be1bc64249 Add buildroot.elf installation and cmdline parameters 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
8d709206d5 Change the 2nd stage to download the data over USB2.0 This accelerates
the download of code 10x
2016-10-03 15:28:46 +01:00
ghollingworth
f76f278737 Change buildroot config name 2016-10-03 15:28:46 +01:00
ghollingworth
250225bc7c Update to reflect renamed .elf file 2016-10-03 15:28:46 +01:00
ghollingworth
a941465a6e Fix markup 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
06f4a981fe Add usb boot from buildroot image 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
ae2822cc75 Add installation target to makefile 2016-10-03 15:28:46 +01:00
Diego Herranz
906051bffc Add reference to Compute Module in USB boot Readme 2016-10-03 15:28:46 +01:00
Diego Herranz
a081b19046 Fix USB boot code build instructions 2016-10-03 15:28:46 +01:00
Andrew Scheller
08e4ed8244 Fix typo 2016-10-03 15:28:46 +01:00
ghollingworth
922c74c826 Oops... Forgot closing brace! 2016-10-03 15:28:46 +01:00
ghollingworth
a2374b3620 Exit from program when you program it 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
1cddbb1e36 Added readme 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
4579a83a74 Added functionality to boot BCM2835 over the USB 2016-10-03 15:28:46 +01:00
Gordon Hollingworth
bae4aeb7ee Initial commit 2016-10-03 15:13:50 +01:00