ASRock IMB-A180 BSP

From DDCIDeos
Jump to navigationJump to search

FORMAT USB FLASH DRIVE

Using fdisk on Ubuntu environment:

1. Type fdisk -l (and note which device is your USB Drive)
2. Type fdisk /dev/sdx (replacing x with your actual usb device)
3. Type d (to delete the existing partition)
4. Type n (to create a new partition)
5. Type p (for primary partition)
6. Type 1 (to create the first partition)
7. Press Enter (to use the first cylinder)
8. Press Enter again (to use the default value as the last cylinder)
9. Type a (for active)
10. Type 1 (to mark the first partition active "bootable")
11. Type t (for partition type)
12. Type c (to use fat32 partition)
13. Type w (to write the changes and close fdisk)

Set up grub directory

1. mkdir -p /media/amd/USB/boot/grub
2. sudo grub-install --root-directory=/media/amd/USB /dev/sdb
3. sudo grub-mkconfig -o /media/amd/USB/boot/grub/grub.cfg


GRUB DEOS ENTRY

Add this entry to /boot/grub/grub.cfg file

menuentry 'DDC-I DEOS' --class gnu-linux --class gnu --class os {
load_video
#set gfxpayload=keep
insmod gzio
insmod part_msdos
#insmod ext2
set root='hd0,msdos1'
#splashimage=(hd0,msdos1)/EFI/grub/splash.tga
echo 'Loading DEOS Kernel...'
# rd.luks disables disk encrytion detection. rd.md and rd.dm disable RAID.
# rd.driver.pre command forces it to load a kernel driver.
# rd.live.image is read by the kickstart file
#	exec /grldr
#	root (hd0,msdos1)
#	chainloader +1
#	echo 'Please wait ...'
set gfxpayload="text"
multiboot /boot.elfimg /hypstart.bin.gz 0x1200000
module /hypstart.bin.gz
}

Fit-pc2 Image

1. Create Deos image for fit-pc2 target using it-pc2-platform-howto.
2. Copy boot.elfimg and hypstart.bin.gz files to the USB flash drive.

Set up ASRock IMB-A180 BIOS

1. Disable Secure Boot option in Security menu of UEFI configuration.
2. Set USB flash drive as the primary boot option.