and
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by and
-
-
Ok. For my first and third questions I found that I have to update scripts/package/builddeb in Kernel folder.
Is there any similar script file for u-boot?
-
Hi,
I am adding support of my board to armbian framework and I have several questions:
1. I added my u-boot & kernel but when I build package for kernel, it creates linux-image-4.14.98-sabre_5.94_armhf.deb instead of linux-image-sabre_5.94_armhf.deb so I have to remove version from from file name in compilation.sh or image creation process would fail. Is it possible to define name of .deb package? I guess I just missed something in my kernel config file.
2. u-boot & linux-image packages are installed successful but I have to add default links to kernel & device tree files by hands or update u-boot scripts by hand. Is it possible to add/update some post-install configuration script to .deb so it would create/update required links during installation of .deb? The same is with u-boot deb. It updates u-bot file in filesystem but do not update it at boot area of my mmc card.
3. Is it possible to add some additional pre-compiled device tree files to linux-image .deb
Customization of .deb packages of u-boot & linux-image
in Armbian build framework
Posted
It is a board based on iMX7D MCU.
I used patches for cupboard-default as an example for patching scripts/package/builddeb in Kernel folder.
Now I can build u-boot, kernel and images without any issue with unmodified armbian framework. I can share my work if someone would be interested.
List of new files/folders:
config/boards/imx7sabre.conf
config/bootenv/sabre-default.txt
config/kernel/linux-sabre-default.config
config/sources/sabre.conf
patch/kernel/sabre-default/
patch/u-boot/u-boot-sabre/
I did not add any special customization for the board, just used u-boot/kernel from official NXP repositories and adapted it for armbian framework.
By the way, aria2c on Ubuntu 16.04.6 LTS does not accept --download-result=hide so I had to change it to --download-result=default in lib/general.sh on Ubuntu 16.04
Ubuntu 18.04 has new version of aria2c so armbian framework works fine.