Commit 364ea9d8 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Replace !SDCreate with v1.02b. Add InstallHD4 script to help with setting up a...

Replace !SDCreate with v1.02b. Add InstallHD4 script to help with setting up a !Boot sequence on OMAP machines.

Detail:
  Resources/OMAP3Dev/!SDCreate/!Help, !Run, !Desc - Updated to V1.02b. Only real change is to check for v1.28 of the FrontEnd module, since v1.16 was reported as not working.
  Resources/OMAP3Dev/InstallHD4,fe6, ReadMe.txt, release_autobuild,feb - Added InstallHD4 script, based around Trevor Johnson's script on the wiki
Admin:
  InstallHD4 script tested on BB-xM; seems to work!


Version 0.15. Tagged as 'ABRelease-0_15'
parent df2a1460
......@@ -11,7 +11,8 @@ SDCreate is a utility designed to help people with the task of installing RISC O
Requirements
------------
Images can be created on almost any RISC OS computer with >8MB of spare disc space. You will need at least version 1.15 of the FrontEnd module and version 1.52 of DDEUtils.
Images can be created on almost any RISC OS computer with >8MB of spare disc space. You will need at least version 1.28 of the FrontEnd module and version 1.52 of DDEUtils. Up-to-date versions of these modules can be found in the !System archive available for download from the RISC OS Open website:
http://www.riscosopen.org/content/downloads/boot-zipfiles
If you want to use SDCreate to write the image to an SD card, then you'll need to be using a RISC OS 5 machine with a USB card reader and the USB mass storage drivers (SCSISoftUSB).
......@@ -168,6 +169,8 @@ There is also an extra entry point at offset &00000064, which should be used whe
History
-------
V1.02b - 2010/11/14
* Changed !Run file to RMEnsure FrontEnd 1.28 after receiving reports of 1.16 not working
V1.02 - 2010/10/17
* Fixed a bug with the step that checks for successful uImage creation
* Corrected all filenames to be in caps, so TouchBook/xM cards actually boot!
......
Run <Obey$Dir>.!Boot
RMEnsure FrontEnd 0.00 Run System:Modules.Frontend
RMEnsure FrontEnd 1.15 Error You need version 1.15 of the FrontEnd module to run !SDCreate
RMEnsure FrontEnd 1.28 Error You need version 1.28 of the FrontEnd module to run !SDCreate
RMEnsure DDEUtils 0.00 Run System:Modules.DDEUtils
RMEnsure DDEUtils 1.52 Error You need version 1.52 of the DDEUtils module to run !SDCreate
WimpSlot -Min 128k -Max 128k
......
......@@ -3,7 +3,7 @@
tool_details_start
name "SDCreate";
command_is "<SDCreate$Dir>.SDCreate";
version "1.02";
version "1.02b";
wimpslot 256k;
has_extended_cmdline;
tool_details_end
......
scsi
basic
10REM Turn off alignment exceptions on ARMv7 machines
20DIM code% 256
30P%=code%
40[ OPT 0
50SWI "OS_EnterOS"
60MRC CP15,0,R0,C1,C0,0
70BIC R0,R0,#2
80MCR CP15,0,R0,C1,C0,0
90MSR CPSR_c,#&10
100MOV PC,R14
110]
120CALL code%
RUN
*changedynamicarea -ramfssize 32m
*ram
SAVE"RAM::RamDisc0.$.AOff"
10REM Turn on alignment exceptions on ARMv7 machines
70ORR R0,R0,#2
SAVE"RAM::RamDisc0.$.AOn"
*scsi
NEW
10REM Create and save a text file of instructions
20:
30REM Assumes a RAM disc is present
40:
50ONERRORCLOSE#x:REPORT:PRINT" at line ";ERL:END
60READline$
70x=OPENOUT"RAM::RamDisc0.$.HD4Instruct"
80WHILE line$<>""
90BPUT#x,line$
100READline$
110ENDWHILE
120CLOSE#x
130*settype RAM::RamDisc0.$.HD4instruct &fff
140END
150:
1000DATA" Creating your HardDisc4 boot disc"
1010DATA" ================================="
1020DATA" "
1030DATA"1. Connect the new device you want to format, and"
1040DATA" note its drive number on the icon bar."
1050DATA"2. Unplug the FAT formatted device you used to get"
1060DATA" to this point, if you wish."
1070DATA"3. To reformat this new device, run SCSIForm from"
1080DATA" its shortcut placed on the Pinboard."
1090DATA"4. In the RAM::RamDisc0.$.HardDisc4 directory"
1100DATA" display, click Menu -> Select all."
1110DATA"5. Drag the selection onto the iconbar drive icon"
1120DATA" for the newly formatted device."
1130DATA"6. When copying is complete (i.e. Copying files"
1140DATA" window disappears), click Menu -> Dismount on"
1150DATA" the iconbar drive icon."
1160DATA"7. You are now free to restart the machine, which"
1170DATA" will boot from the newly installed HardDisc4"
1180DATA" !Boot sequence."
1190DATA""
RUN
NEW
10REM Run self-extracting HardDisc4 image
20REM which provides the !Boot sequence and
30REM SCSI ADFS formatter
40:
50REM Assumes a RAM disc of minimum size 32MB is present
60:
70*copy SCSI::0.HardDisc4/util RAM::RamDisc0.$.HD4 ~c
80*dismount :0
90*settype RAM::RamDisc0.$.HD4 &ffc
100*key0|m*delete RAM::RamDisc0.$.HD4|m*pin RAM::RamDisc0.$.HardDisc4.Utilities.USB-Mass.!SCSIForm 32 152|m*filer_opendir RAM::RamDisc0.$|m*filer_opendir RAM::RamDisc0.$.HardDisc4|m*filer_run RAM::RamDisc0.$.HD4instruct|m
110*key1|m|m|m|m|m|mREM **********************|mREM * Finished. *|mREM * You may safely *|mREM * CLOSE this window. *|mREM **********************|m|mQUIT|mshellcli_taskquit|m
120*fx15,0
130*fx138,0,128
140*fx138,0,129
150*ram
160*/ RAM::RamDisc0.$.HD4
RUN
......@@ -30,4 +30,17 @@ RISC OS Open wiki:
http://www.riscosopen.org/wiki/documentation/pages/Using+the+Cortex-A8+port
The 'InstallHD4' script, and setting up a !Boot sequence
========================================================
For details of how to setup up a !Boot sequence for your OMAP3 machine, please
see the 'Putting the HardDisc4 image onto a USB drive' section of this wiki
page:
http://www.riscosopen.org/wiki/documentation/pages/Using+the+Cortex-A8+port
The 'InstallHD4' script supplied with this archive is intended to be used in
conjunction with the installation steps given on the above page.
-- RISC OS Open
......@@ -54,6 +54,9 @@ Copy ab_res:!SDCreate.scripts.source.devkit <ab_res$dir>.zip.!SDCreate.scripts
Copy ab_res:!SDCreate.scripts.source.igep <ab_res$dir>.zip.!SDCreate.scripts.source.igep ~cf~r~v
Copy ab_res:!SDCreate.scripts.source.pandora <ab_res$dir>.zip.!SDCreate.scripts.source.pandora ~cf~r~v
| Copy the InstallHD4 script into the zip directory
Copy ab_res:InstallHD4 <ab_res$dir>.zip.InstallHD4 ~cf~r~v
| Set the zip directory as the current directory
Dir <ab_res$dir>.zip
......
/* (0.14)
/* (0.15)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.14
#define Module_MajorVersion_CMHG 0.15
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 14 Nov 2010
#define Module_MajorVersion "0.14"
#define Module_Version 14
#define Module_MajorVersion "0.15"
#define Module_Version 15
#define Module_MinorVersion ""
#define Module_Date "14 Nov 2010"
......@@ -18,6 +18,6 @@
#define Module_ComponentName "ABRelease"
#define Module_ComponentPath "castle/RiscOS/Utilities/Autobuild/ABRelease"
#define Module_FullVersion "0.14"
#define Module_HelpVersion "0.14 (14 Nov 2010)"
#define Module_LibraryVersionInfo "0:14"
#define Module_FullVersion "0.15"
#define Module_HelpVersion "0.15 (14 Nov 2010)"
#define Module_LibraryVersionInfo "0:15"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment