Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
summerofcode2014:bootsplash [2014/06/29 09:37] – SeiyaNutasummerofcode2014:bootsplash [2014/08/17 13:46] (current) – SeiyaNuta
Line 2: Line 2:
   * Student: [[/SeiyaNuta|SeiyaNuta]] (seiya@)   * Student: [[/SeiyaNuta|SeiyaNuta]] (seiya@)
   * Mentor: [[/KrisMoore|KrisMoore]] (kmoore@)   * Mentor: [[/KrisMoore|KrisMoore]] (kmoore@)
 +
 +===== Testing this bootsplash =====
 +==== 1. build kernel ====
 +
 +<code>
 +$ cd /tmp
 +$ svn co https://socsvn.freebsd.org/socsvn/soc2014/seiya/bootsplash bsplash
 +$ cd bsplash/sys/amd64/conf
 +$ cp GENERIC BSPLASH
 +$ echo 'device bsplash' >> BSPLASH
 +$ config -d /tmp/build BSPLASH
 +
 +$ cd /tmp/build
 +$ MAKESYSPATH=/tmp/bsplash/share/mk make -j2 KERNCONF=BSPLASH
 +</code>
 +
 +==== 2. install the kernel ====
 +
 +<code>
 +# cd /boot
 +# cp -r kernel kernel.old
 +# cd /tmp/bsplash
 +# MAKESYSPATH=/tmp/bsplash/share/mk make -j2 install
 +</code>
 +
 +==== 3. add a theme for testing ====
 +
 +<code>
 +# cd /tmp
 +# pkg install ImageMagick python py27-pillow
 +# git clone https://github.com/nuta/bsplash-utils.git utils
 +# cd utils/test
 +# make enable
 +</code>
 +
 +==== 4. replace /etc/rc ====
 +
 +<code>
 +# cp /etc/rc /etc/rc.old
 +# cp /tmp/bsplash/etc/rc /etc/rc
 +</code>
 +
 +==== 5. replace /boot/defaults/loader.conf ====
 +
 +<code>
 +# cd /boot/defaults
 +# cp loader.conf loader.conf.old
 +# cp /tmp/bsplash/sys/boot/forth/loader.conf loader.conf
 +</code>
 +
 +==== 5. run bsplash-fix-grub-cfg (only for GRUB users) ====
 +
 +<code>
 +# cd /tmp/utils
 +# bsplash-fix-grub-cfg /boot/loader.conf /boot/grub/grub.cfg > tmp
 +# mv tmp /boot/grub/grub.cfg
 +</code>
 +
 +==== 6. reboot and enjoy bootsplash ====
  
 ===== Project description ===== ===== Project description =====
Line 54: Line 113:
 $ ls animation*.bmp $ ls animation*.bmp
 animation0.bmp  animation10.bmp animation12.bmp animation14.bmp animation2.bmp  animation4.bmp  animation6.bmp  animation8.bmp animation0.bmp  animation10.bmp animation12.bmp animation14.bmp animation2.bmp  animation4.bmp  animation6.bmp  animation8.bmp
-animation1.bmp  animation11.bmp animation13.bmp animation15.bmp animation3.bmp  animation5.bmp  animation7.bmp  animation9.bmp+animation1.bmp  animation11.bmp animation13.bmp animation3.bmp  animation5.bmp  animation7.bmp  animation9.bmp
 $ ls progressbar*.bmp                                                                                                                                                                                               $ ls progressbar*.bmp                                                                                                                                                                                              
 progressbar0.bmp        progressbar20.bmp       progressbar40.bmp       progressbar60.bmp       progressbar80.bmp progressbar0.bmp        progressbar20.bmp       progressbar40.bmp       progressbar60.bmp       progressbar80.bmp
Line 93: Line 152:
 | June 23 - June 29 | work on unimplemented features (e.g. support RLE4) | done | | June 23 - June 29 | work on unimplemented features (e.g. support RLE4) | done |
 | June 28 | Mid-term evaluation deadline || | June 28 | Mid-term evaluation deadline ||
-| June 30 - July 6 | develop userland utilities | in progress | +| June 30 - July 6 | develop userland utilities | done | 
-| July 7 - July 20 | support drawing animation in a part of screen |  | +| July 7 - July 20 | support drawing animation in a part of screen | done | 
-| July 21 - July 27 | support progress bar |  | +| July 21 - July 27 | support progress bar | done | 
-| July 28 - 'pencils down' date | create themes and refactoring |  |+| July 28 - 'pencils down' date | create themes and refactoring | done |
 | August 18 | End of coding (hard) || | August 18 | End of coding (hard) ||
  
Line 113: Line 172:
 ===== The Code ===== ===== The Code =====
   * https://svnweb.freebsd.org/socsvn/soc2014/seiya   * https://svnweb.freebsd.org/socsvn/soc2014/seiya
-  * https://github.com/ntsy/bsplash+  * https://github.com/nuta/bsplash-utils
  
  • summerofcode2014/bootsplash.1404034669.txt.gz
  • Last modified: 2014/06/29 09:37
  • by SeiyaNuta