summaryrefslogtreecommitdiffstats
path: root/DuetPkg/CreateBootDisk.sh
Commit message (Collapse)AuthorAgeFilesLines
* DuetPkg: Add POSTBUILD in DSC files to run post-build automaticallyHao Wu2016-11-141-8/+2
| | | | | | | | | | | | | | | | | | | | | | https://bugzilla.tianocore.org/show_bug.cgi?id=220 Currently, the post-build scripts PostBuild.bat/PostBuild.sh in DuetPkg need to be run manually. Especially for Windows batch script, it also requires users to set the build options (like tool chain, target and arch) in file Conf/target.txt. If users using command line options via '-t' or '-a', the post-build script won't work properly. The package DSC files now support the feature to execute post-build script automatically by adding a 'POSTBUILD' definition. This feature also passes the build options into the post-build script as parameters. This commit uses this feature to make the post-build works for DuetPkg more user-friendly. Also, ReadMe.txt is updated to reflect the new steps for UEFI Emulation (DUET) development. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* DuetPkg: Resolve white-space issues for post-build scripts & ReadMeHao Wu2016-11-141-152/+152
| | | | | | | Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* Change NT32 and DUET to use UEFI Shell by default. Use "-D USE_OLD_SHELL" ↵Ruiyu Ni2014-11-251-9/+9
| | | | | | | | | | for NT32 to use EDK Shell. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16444 6f19259b-4bc3-4df7-8a09-765794883524
* Update the bat file, avoid change the original binary file in SVN, copy a ↵Eric Dong2014-07-091-7/+12
| | | | | | | | | | temp file to use. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15644 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg: Update create boot disk script to not modify bootsect.comjljusten2010-12-061-3/+4
| | | | | | | Previously the script would modify DuetPkg/BootSector/bin/bootsect.com. Now a temporary file is used in place of bootsect.com. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11122 6f19259b-4bc3-4df7-8a09-765794883524
* DuetPkg CreateBootDisk.sh: Enable building a DUET floppy imagejljusten2010-10-161-6/+34
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10947 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-281-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
* Separate IA32/X64 architecture into two DSC file to avoid the their output ↵klu22010-03-181-16/+31
| | | | | | mixup. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10272 6f19259b-4bc3-4df7-8a09-765794883524
* 1, Remove comma after yearklu22010-03-101-1/+1
| | | | | | | 2, Use full stop instead of comma after "Intel Corporation" 3, Remove blank char between "." and "<BR>" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10222 6f19259b-4bc3-4df7-8a09-765794883524
* Cleanup license header klu22010-03-101-1/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10219 6f19259b-4bc3-4df7-8a09-765794883524
* 1. update bat file to generate right bootia32.efi/bootx64.efi file according ↵eric_tian2010-01-191-9/+37
| | | | | | | | | to command line parameters. 2. fix a print error in which a %x in format string exists but the corresponding variable argument is not present! 3. fix CONSUME_MEMORY too small issue. In X64 arch, cpu may cause the paging table is too big and beyond the pei memory scope between EfiMemoryTop and EfimemoryBottom. for example, a cpu support 44bits addressing memory space may occupied ~64M paging table. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9794 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the shell script file type as executableklu22009-11-171-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9436 6f19259b-4bc3-4df7-8a09-765794883524
* Rollback patch temporary until receive legal approve.klu22009-09-171-13/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9277 6f19259b-4bc3-4df7-8a09-765794883524
* Apply patch from Patrick Georgi. Correct build tool path to stable version.klu22009-09-151-2/+13
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9263 6f19259b-4bc3-4df7-8a09-765794883524
* This patch includes:klu22009-06-221-13/+14
| | | | | | | 1) Use the binaries of boot sector directly instead of building it. Because the code of boot sector will be modified rarely and it is native code. 2) Correct the shell binary file path which is changed by recently. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8620 6f19259b-4bc3-4df7-8a09-765794883524
* Add code for floppy format process.gikidy2009-03-311-93/+92
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7993 6f19259b-4bc3-4df7-8a09-765794883524
* Add a parameter for process boot disk create.gikidy2009-03-241-70/+46
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7933 6f19259b-4bc3-4df7-8a09-765794883524
* Convert CreateBootDisk from windows bat file to Linux sh file. gikidy2009-03-031-0/+151
For Linux version of Genbootsector & Bootsectimage has not pass build yet, this sh file has not completely done. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7777 6f19259b-4bc3-4df7-8a09-765794883524