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

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску
м (add some remarks to config.sh)
м (fixes)
Строка 1: Строка 1:
Brief guide how to add target to openSUSE:Factory:ARM:Jeos
Brief guide how to add target to openSUSE:Factory:ARM:Jeos


=Add new target=  
==Get source code==


* config.sh
* Install '''osc''' <pre>zypper in osc</pre>
** Add contrib repo if required (optional)
* 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)
** Add additional modules to include to initrd file (optional)


* pre_checkin.sh
* Modify pre_checkin.sh
** add target name to '''armv7_jeos_images''', optional to '''armv7_gfx_images'''
** add target name to '''armv7_jeos_images''', optional to '''armv7_gfx_images'''


* Images.kiwi.in
* Modify Images.kiwi.in
** add target flavor '''#elif IS_FLAVOR_paz00'''
** add target flavor '''#elif IS_FLAVOR_paz00'''


* uboot-image-setup.in
* Modify uboot-image-setup.in
** add target case '''case $flavor in paz00)'''
** add target case '''case $flavor in paz00)'''


* uboot-setup-paz00.tgz
* Create uboot-setup-paz00.tgz
** copy any of existing ones
** copy any of existing ones
<pre>
<pre>
Строка 30: Строка 35:
* run build of '''JeOS-paz00.kiwi'''
* run build of '''JeOS-paz00.kiwi'''


=Todo=  
==Todo==
* Find some way to install u-boot with kiwi
* Find some way to install u-boot with kiwi
* Find some way to update u-boot with kiwi
* Find some way to update u-boot with kiwi


=Test results=
==Test results==

Версия от 23:57, 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