OpenSUSE JeOS bringup: различия между версиями

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску
м (fixes)
м (layout fix)
Строка 22: Строка 22:


* Create uboot-setup-paz00.tgz
* Create uboot-setup-paz00.tgz
** copy any of existing ones
** copy any of existing ones <pre>cp uboot-setup-panda.tgz uboot-setup-paz00.tgz</pre>
<pre>
*** it will be overriten with pre_checkin.sh script
cp uboot-setup-panda.tgz uboot-setup-paz00.tgz
</pre>
'''* it will be overriten with pre_checkin.sh script


* run pre_checkin.sh
* run pre_checkin.sh <pre>sh ./pre_checkin.sh</pre>
<pre>
sh ./pre_checkin.sh
</pre>


* run build of '''JeOS-paz00.kiwi'''
* run build of '''JeOS-paz00.kiwi'''

Версия от 23:59, 21 января 2015

Brief guide how to add target to openSUSE:Factory:ARM:Jeos

Get source code

  • Install osc
    zypper in osc
  • Branch or copy openSUSE:Factory:ARM:Jeos project

Add new target

  • Modify config.sh
    • Add contrib repo if required for downstream kernel/u-boot or addititional rpms (optional)
    • Add additional modules to include to initrd file (optional)
  • Modify pre_checkin.sh
    • add target name to armv7_jeos_images, optional to armv7_gfx_images
  • Modify Images.kiwi.in
    • add target flavor #elif IS_FLAVOR_paz00
  • Modify uboot-image-setup.in
    • add target case case $flavor in paz00)
  • Create uboot-setup-paz00.tgz
    • copy any of existing ones
      cp uboot-setup-panda.tgz uboot-setup-paz00.tgz
      • it will be overriten with pre_checkin.sh script
  • run pre_checkin.sh
    sh ./pre_checkin.sh
  • run build of JeOS-paz00.kiwi

Todo

  • Find some way to install u-boot with kiwi
  • Find some way to update u-boot with kiwi

Test results