{"id":18870502,"url":"https://github.com/robseb/linuxbootimagefilegenerator","last_synced_at":"2025-06-25T15:06:51.866Z","repository":{"id":240748096,"uuid":"273748595","full_name":"robseb/LinuxBootImageFileGenerator","owner":"robseb","description":"Python Script to automatically generate a bootable Image (.img) file with a specifiable partition table and Linux files (e.g. zImage, u-boot,...) for embedded Linux distributions","archived":false,"fork":false,"pushed_at":"2025-03-16T13:17:44.000Z","size":223,"stargazers_count":4,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T15:30:53.924Z","etag":null,"topics":["bootimage","build-automation","build-system","build-tool","embedded","embedded-systems","image","image-file","linux"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robseb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"robseb"}},"created_at":"2020-06-20T16:54:30.000Z","updated_at":"2025-03-16T13:17:47.000Z","dependencies_parsed_at":"2025-02-15T23:18:02.238Z","dependency_job_id":"68953fd8-93b5-4024-a1b5-21a345c37f8e","html_url":"https://github.com/robseb/LinuxBootImageFileGenerator","commit_stats":null,"previous_names":["robseb/linuxbootimagefilegenerator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robseb/LinuxBootImageFileGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robseb%2FLinuxBootImageFileGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robseb%2FLinuxBootImageFileGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robseb%2FLinuxBootImageFileGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robseb%2FLinuxBootImageFileGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robseb","download_url":"https://codeload.github.com/robseb/LinuxBootImageFileGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robseb%2FLinuxBootImageFileGenerator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261896998,"owners_count":23226647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootimage","build-automation","build-system","build-tool","embedded","embedded-systems","image","image-file","linux"],"created_at":"2024-11-08T05:20:57.188Z","updated_at":"2025-06-25T15:06:51.838Z","avatar_url":"https://github.com/robseb.png","language":"Python","funding_links":["https://github.com/sponsors/robseb"],"categories":[],"sub_categories":[],"readme":"\n![GitHub](https://img.shields.io/static/v1?label=Ubuntu\u0026message=18.04+LTS,+20.04+LTS\u0026color=yellowgreen)\n![GitHub](https://img.shields.io/static/v1?label=CentOS\u0026message=7.0,+8.0\u0026color=blue)\n![GitHub](https://img.shields.io/static/v1?label=Python\u0026message=3.7\u0026color=green)\n![GitHub](https://img.shields.io/github/license/robseb/LinuxBootImageGenerator)\n# Python Script to automatically generate a bootable Image file with a specifiable partition table for embedded Linux distributions\n\n![Alt text](doc/Concept.png?raw=true \"Concept illustration\")\n\n\u003cbr\u003e\n\n**This Python script can generate an bootable image file with Kernel-,bootloader- and user-files. Tools like [\"*rufus*\"](https://github.com/pbatard/rufus) can write for instance a SD-card to enable the booting of a Linux Distribution.**\n\nThe script can be used inside an other Python application or it can be executed as a console task. In the console mode is a simple *XML*-file used to describe the partition table of a final image file.\nThen  the script generates folders depending on the image configuration. In the next step it is enabled for the user to copy files and folders to the partitions. These files will be added to the final image file. \nThe script can automatically compile Linux device tree (*.dts*)-files, unzip archive files, like \"*tar.gz*\" or \"*zip*\", and can calculate the required partition size for the entire content.\n\nActually, I designed this script to expand the capabilities of my custom build system for my embedded Linux  [*rsyocto*](https://github.com/robseb/rsyocto) for *Intel* *SoC-FPGAs*.\nHowever, I noticed that the flexibility of my script allows the usage for almost all embedded Linux platform for instants the *Raspberry Pi* or *NVIDIA Jatson*.\n\nIt is designed to run on modern Linux distributions. \n___\n\n# Features\n\n* **Boot image *(.img)* file generation for distributing embedded Linux Distributions**\n* **Extended partition table with more then 4 parttitions**\n* **Configurable partition size in *Byte*,*Kilobyte*,*Megabyte* or *Gigabyte***\n* **File structure for each partition will be generated and user files can be added**\n* **Partition file size check** \n* **Dynamic mode: Partition size = Size of the files to add to the partition**\n* **An offset can be added to a dynamic size (*e.g. for user space on the running Linux*)**\n* **Linux device tree (*dts*) -files inside a partition can be automatically compiled and replaced with the uncompiled file**  \n* **A u-boot script with the name \"*boot.script*\" inside a partition can be automatically compiled and replaced with the uncompiled file**\n* **Compressed files *(e.g. \"tar.gz\")* containing for instance the Linux *rootfs* can be unzip and automatically added to the partition**\n* **Image Sizes, Block Sizes, Start Sectors for every partition will be automatically generated for the depending configuration**\n* **The final image file can be compressed to a \"*zip*-archive file to reduce the image size**\n\n* **Supported Filesystems**\n    * **ext2**\n    * **ext3**\n    * **ext4**\n    * **Linux**\n    * **vfat**\n    * **fat**\n    * **swap**\n    * **RAW**\n* **Supported archive file types, that can be unzipped automatically**\n    * *.tar* **-Archives**\n    * *.tar.gz* **-Archives**\n    * *.zip* **-Archives**\n* **Extended partition support**\n    * Incase of more then 4 partitions the script will generate a extended partition table\n    * Then, partition 4 will be the extendend partition and the other partitions will be logical partitions inside the extended partition\n* **Tested Development Environments**\n    * **Ubuntu 18.04 LTS**\n    * **Ubuntu 20.04 LTS**\n    * **Ubuntu 22.04 LTS**\n    * **Ubuntu 24.04 LTS**\n    * **CentOS 7.7**\n    * **CentOS 8.0**\n\n\n# Getting started as a console application\n\nFor generating a bootable image by executing a single Linux command please follow this step-by-step guide:\n    \n* Clone this repository with the following Linux console command\n    ````shell\n    git clone https://github.com/robseb/LinuxBootImageFileGenerator.git\n    ````\n    * To install \"*git*\"\n        * Ubuntu\n            ````shell\n            sudo apt-get install -y git \n            ````\n        * CentOS\n            ````shell\n            sudo yum install git\n            ````\n* For compiling Linux Device tree files install the device tree compiler\n    * Ubuntu\n        ````shell\n        sudo apt-get install -y device-tree-compiler\n        ````\n    * CentOS\n        ````shell\n        sudo yum install dtc\n        ````\n* For compiling u-boot script install the *u-boot tools*\n    * Ubuntu\n        ````shell\n        sudo apt-get install -y u-boot-tools\n        ````\n    * CentOS\n        ````shell\n        sudo yum install uboot-tools\n        ````\n* Navigate into the repository folder\n    ````shell \n    cd LinuxBootImageGenerator\n* Start the Python script and follow the instructions\n    ````shell\n    python3 LinuxBootImageGenerator.py\n    ````\n    * Note: The execution with root (*\"sudo\"*) privileges is not necessary\n\n## Major activities of the script in console mode\n\n1. **Generation of a XML configuration file**\n     \n    The script will generate the **XML-file** \"DistroBlueprint.xml\" ('*LinuxBootImageGenerator/*'). It defines the blueprint of the final image `LinuxDistroBlueprint`.\n    The `partition` object characterizes a partition on the final image. \n    A description of every attribute is available inside this file, as well.\n     \n    The following lines show the XML file of a partition configuration for *Intel* *SoC-FPGAs*.\n    ````xml\n    \u003c?xml version=\"1.0\" encoding = \"UTF-8\" ?\u003e\n    \u003c!-- Linux Distribution Blueprint XML file --\u003e\n    \u003c!-- Used by the Python script \"LinuxDistro2Image.py\" --\u003e\n    \u003c!-- to create a custom Linux boot image file --\u003e\n    \u003c!-- Description: --\u003e\n    \u003c!-- item \"partition\" describes a partition on the final image file--\u003e\n    \u003c!-- L \"id\"        =\u003e Partition number on the final image (1 is the lowest number) --\u003e\n    \u003c!-- L \"type\"      =\u003e Filesystem type of partition  --\u003e\n    \u003c!--   L       =\u003e ext[2-4], Linux, xfs, vfat, fat, none, raw, swap --\u003e\n    \u003c!-- L \"size\"      =\u003e Partition size --\u003e\n    \u003c!-- \tL\t    =\u003e \u003cno\u003e: Byte, \u003cno\u003eK: Kilobyte, \u003cno\u003eM: Megabyte or \u003cno\u003eG: Gigabyte --\u003e\n    \u003c!-- \tL\t    =\u003e \"*\" dynamic file size =\u003e Size of the files2copy + offset  --\u003e\n    \u003c!-- L \"offset\"    =\u003e in case a dynamic size is used the offset value is added to file size--\u003e\n    \u003c!-- L \"devicetree\"=\u003e compile the Linux Device (.dts) inside the partition if available (Top folder only)--\u003e\n    \u003c!-- \tL \t    =\u003e Yes: Y or No: N --\u003e\n    \u003c!-- L \"unzip\"     =\u003e Unzip a compressed file if available (Top folder only) --\u003e\n    \u003c!-- \tL \t    =\u003e Yes: Y or No: N --\u003e\n    \u003c!-- L \"ubootscript\"  =\u003e Compile the u-boot script file (\"boot.script\") --\u003e\n    \u003c!-- \tL \t    =\u003e Yes, for the ARMv7A (32-bit) architecture =\"arm\" --\u003e\n    \u003c!-- \tL \t    =\u003e Yes, for the ARMv8A (64-bit) architecture =\"arm64\" --\u003e\n    \u003c!-- \tL \t    =\u003e No =\"\" --\u003e\n    \u003cLinuxDistroBlueprint\u003e\n    \u003cpartition id=\"1\" type=\"vfat\" size=\"*\" offset=\"500M\" devicetree=\"Y\" unzip=\"N\" ubootscript=\"arm\" /\u003e\n    \u003cpartition id=\"2\" type=\"ext3\" size=\"*\" offset=\"1M\" devicetree=\"N\" unzip=\"Y\" ubootscript=\"\" /\u003e\n    \u003cpartition id=\"3\" type=\"RAW\" size=\"*\" offset=\"20M\"  devicetree=\"N\" unzip=\"N\" ubootscript=\"\" /\u003e\n    \u003c/LinuxDistroBlueprint\u003e\n    ````\n    **Customize the XML file for your Linux distribution and platform.**\n\n2. **Generation of a directory for every configured partition**\n\n    The script will generate for every selected partition a depending folder. At this point it is enabled to drag\u0026drop files and folders \n    to the partition folder. This content will then be included in the final image file. \n    Linux device tree- and archive-files, copied to the partition folder, will be automatically processed by the script incase these features were enabled for the partition inside the XML file. Of cause, archive files or uncompiled device tree files will not be added to the final image. \n\n    The following illustration shows generated folder structure with the previous XML configuration file.\n\n    ![Alt text](doc/FolderStrucre.png?raw=true \"Example of the folder structure\")\n    \n\n    **Copy or drag\u0026drop your files/folders to these partition folders to pre-install these content to the final image.**\n\n    *Note: On RAW partitions are only files allowed!*\n\n3. **Generation of the bootable image file with custom configuration**\n    \n    The script will generate a image file with name \"*LinuxDistroYYYYMMDD_HHMM.img*\". Additionally, it is possible to generate a \"*.zip*\" archive file with the name \"LinuxDistro.zip\". Tools, like \"*rufus*\" can process this \"*.zip*\" file directly and can bring it onto a SD-Card. \n    \u003cbr\u003e\n\n# Getting started as Python library \n\nBeside the usage of this Python script as an console application it is enabled to use it inside a other Python application.\nThe \"*LinuxBootImageGenerator*\" consists of two Python classes:\n\n| Class | Description\n|:--|:--|\n| **Partition**  | Descries a filesystem partition   |\n| **BootImageCreator**  | The Linux Boot image generator |\n\n\nThe following steps describes in the right sequence the required Python methods to generate a image file:\n\n1. **Generation of a XML configuration file**\n\n    Configure the image partition by creating objects of the class **\"Partition\"**.\n    Description of the construtor of the class *\"Partition\"*:\n    ````python\n    #\n    # @brief Constructor\n    # @param diagnosticOutput  Enable/Disable the console printout\n    # @param id                Partition Number of the partition table (1-4)\n    # @param type              Filesystem name as string  \"ext[2-4], Linux, xfs, vfat, fat, none, raw, swap\"\n    # @param size_str          Size of the partition as string \n    #                          Format: \u003cno\u003e: Byte, \u003cno\u003eK: Kilobyte, \u003cno\u003eM: Megabyte or \u003cno\u003eG: Gigabyte\n    #                                  \"*\" dynamic file size =\u003e Size of the files2copy + offset\n    # @param offset_str        In case a dynamic size is used the offset value is added to file size\n    # @param devicetree        Compile the Linux Device (.dts) inside the partition if available \n    # @param unzip             Unzip a compressed file if available\n    # @param ubootscript       Compile the u-boot script \"boot.script\" for architecture \"arm\" or \"arm64\"\n    # @param operation_mode    File scan mode: 1= List every file | 0= List only top files and folders\n    #  \n    def __init__(self,diagnosticOutput=True, id=None, type=None,size_str=None,\n                    offset_str=None,devicetree=False,unzip=False,,ubootscript=None,\n                 operation_mode=0):\n    ````\n\n2. **Add folders/files to the partitions**\n    \n    To include directories and files to a partition are two methodes available. \n    To add every file inside in file path to the partition use following methode of the class *\"Partition\"*:\n    \n    ````python\n    #\n    # @brief Find files in a directory and add them to the file list\n    #        These files will then be added to the partition \n    # @param diagnosticOutput       Enable/Disable the console printout\n    # @param searchPath             Directory to search\n    #\n    def findFileDirectories(self,diagnosticOutput=True,searchPath = None):\n    ````\n    By using a list of file- or folder directories to add to the partition use following methode of the class *\"Partition\"*:\n    ````python\n    #\n    # @brief Import files to the file list\n    #        These files will then be added to the partition \n    # @param diagnosticOutput       Enable/Disable the console printout\n    # @param fileDirectories       List of File directories to import \n    #\n    def importFileDirectories(self,diagnosticOutput,*fileDirectories):\n    ````\n\n3. **Calculate partition sizes**\n\n    Use following methode of the class *\"Partition\"* to calculate the required sizes for the partition:\n    \n    ````python \n    # \n    #\n    # @brief Calculate the total file size of all files to import to the partition \n    # @param diagnosticOutput       Enable/Disable the console printout\n    #\n    def calculatePartitionFilesize(self,diagnosticOutput=True):\n    ````\n\n4. **Create a BootImage Generator object**\n\n    Use constructor of the \"*BootImageCreator*\" class to create a new object:\n    \n    ````python \n    #\n    # @brief Constructor\n    # @param partitionTable          partitionTable as list of \"Partition\" class objects \n    # @param outputFileName          Name of the output image file with the suffix \".img\"\n    # @param pathOfOutputImageDir    File path of the output image file \n    #  \n    def __init__(self, partitionTable=None,outputFileName=None,pathOfOutputImageDir=None):\n    ````\n5. **Optional: Print the final partition table**\n\n    Use following method of the class \"*BootImageCreator*\" to print all sizes of the partition table to generate: \n    \n    ````python \n    #\n    # @brief Print the loaded partition table \n    #\n    def printPartitionTable(self):\n    ````\n\n6. **Generate the output image file**\n\n    Use following method of the Python class \"*BootImageCreator*\" generate the final bootable image file:\n    \n    ````python\n    #\n    # @brief Generate a new Image file with the selected partitions\n    # @param diagnosticOutput       Enable/Disable the console printout    \n    #\n    def generateImage(self, diagnosticOutput = True):\n    ````\n\n7. **Optional: Print the partition table inside the image file**\n\n    To back check the image generating process it is possible with following method of the class \"*BootImageCreator*\" to print\n    the partition table of generated image file: \n    \n    ````python \n    #\n    # @brief Print the final image partition with fdisk\n    # @param diagnosticOutput       Enable/Disable the console printout    \n    #  \n    def printFinalPartitionTable(self,diagnosticOutput=True):\n    ````\n\n8. **Optional: Compress the generated image file**\n\n    Use following method of the class \"*BootImageCreator*\" to zip the output image file:\n    \n    ````python \n    #\n    # @brief Compress the output image file to \".zip\"\n    # @param diagnosticOutput       Enable/Disable the console printout    \n    # @param zipfileName            Path with name of the zip file\n    #  \n    def compressOutput(self, diagnosticOutput=True,zipfileName=None):\n    ````\n\u003cbr\u003e\n\n## Link it to your repository for designing a custom build system\n\nUse following commands inside your repository to link this Python library to your build system:\n\n````bash\ngit submodule https://github.com/robseb/LinuxBootImageFileGenerator.git LinuxBootImageFileGenerator \u0026 git submodule update --init\n````\nTo update the linked repository (*submodule*) use following command:\n````bash\ngit pull --recurse-submodules \u0026 git submodule update --remote --recursive\n````\n\u003cbr\u003e    \n\n\u003cbr\u003e\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eExample output after an execution\u003c/strong\u003e\u003c/summary\u003e\n\u003ca name=\"step5\"\u003e\u003c/a\u003e\n\n````shell\nvm@vm2:~/Desktop/LinuxBootImageFileGenerator$ python3 LinuxBootImageGenerator.py \n\n##############################################################################\n#                                                                            #\n#    ########   ######     ##    ##  #######   ######  ########  #######     #\n#    ##     ## ##    ##     ##  ##  ##     ## ##    ##    ##    ##     ##    #\n#    ##     ## ##            ####   ##     ## ##          ##    ##     ##    #\n#    ########   ######        ##    ##     ## ##          ##    ##     ##    #\n#    ##   ##         ##       ##    ##     ## ##          ##    ##     ##    #\n#    ##    ##  ##    ##       ##    ##     ## ##    ##    ##    ##     ##    #\n#    ##     ##  ######        ##     #######   ######     ##     #######     #\n#                                                                            #\n#       AUTOMATIC SCRIPT TO COMBINE ALL FILES OF A EMBEDDED LINUX TO A       #\n#                       BOOTABLE DISTRIBUTABLE IMAGE FILE                    #\n#                                                                            #\n#               by Robin Sebastian (https://github.com/robseb)               #\n#                          Contact: git@robseb.de                            #\n#                            Vers.: 1.01                                     #\n#                                                                            #\n##############################################################################\n\n\n---\u003e The Linux Distribution blueprint XML file exists\n---\u003e Read the XML blueprint file \n---\u003e Load the items of XML file \n--\u003e Working folder name:\"Pat_1_vfat\"\n--\u003e Working folder name:\"Pat_2_ext3\"\n--\u003e Working folder name:\"Pat_3_raw\"\n\n#############################################################################\n#    Copy files to the partition folders to allow the pre-installment         #\n#                    to the depending image partition                         #\n#                                                                             #\n#                     === Folders for every partition ===                     #\n# Folder: \"Image_partitions/Pat_1_vfat\"| No.: 1 Filesystem: vfat Size: *\n# Folder: \"Image_partitions/Pat_2_ext3\"| No.: 2 Filesystem: ext3 Size: *\n# Folder: \"Image_partitions/Pat_3_raw\"| No.: 3 Filesystem: raw Size: *\n#                                                                            #\n##############################################################################\n#                                                                            #\n#                    Compress the output image file?                         #\n#     Should the output file be compressed as .zip to reduce the size        #\n#     Image creator tools like \"Rufus\" can directly work with .zip files     #\n#                                                                            #\n#        Y: Compress the output image as .zip                                #\n#        Q: Quit the script                                                  #\n#        Any other input: Do not compress the output image                   #\n#                                                                            #\n##############################################################################\n#              Please type ...                                               #y\n##############################################################################\n\n---\u003e Scan every partition folder to find all file directories\n      and calculate the total partition size\n--\u003e Scan path \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat\" to find a files inside it\n--\u003e Compile a Linux Device Tree (.dts) file\n    Looking for a .dts in the top folder\nDTS File: socfpga_cy5.dts\nRemove the old output filesocfpga_cy5.dtb\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:86.20-92.5: Warning (simple_bus_reg): /soc/base-fpga-region: missing or empty reg/ranges property\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:770.10-789.5: Warning (simple_bus_reg): /soc/eccmgr: missing or empty reg/ranges property\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:873.13-877.5: Warning (simple_bus_reg): /soc/sdramedac: missing or empty reg/ranges property\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:994.10-999.5: Warning (simple_bus_reg): /soc/usbphy: missing or empty reg/ranges property\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:80.5-20: Warning (clocks_property): /soc/amba/pdma@ffe01000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:98.4-19: Warning (clocks_property): /soc/can@ffc00000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:107.4-19: Warning (clocks_property): /soc/can@ffc01000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:150.6-21: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:157.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/mpuclk@48:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:166.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/mainclk@4c:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:175.7-26: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/dbg_base_clk@50:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:175.7-26: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/dbg_base_clk@50:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:184.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/main_qspi_clk@54:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:192.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/main_nand_sdmmc_clk@58:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:200.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/main_pll@40/cfg_h2f_usr0_clk@5c:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:211.6-29: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:211.6-29: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:211.6-29: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80:clocks: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:218.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80/emac0_clk@88:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:226.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80/emac1_clk@8c:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:234.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80/per_qsi_clk@90:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:242.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80/per_nand_mmc_clk@94:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:250.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80/per_base_clk@98:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:258.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/periph_pll@80/h2f_usr1_clk@9c:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:269.6-29: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:269.6-29: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:269.6-29: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0:clocks: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:276.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0/ddr_dqs_clk@c8:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:284.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0/ddr_2x_dqs_clk@cc:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:292.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0/ddr_dq_clk@d0:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:300.7-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdram_pll@c0/h2f_usr2_clk@d4:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:309.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/mpu_periph_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:317.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/mpu_l2_ram_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:325.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l4_main_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:333.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l3_main_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:341.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l3_mp_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:350.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l3_sp_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:358.6-27: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l4_mp_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:358.6-27: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l4_mp_clk:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:367.6-27: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l4_sp_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:367.6-27: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/l4_sp_clk:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:376.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/dbg_at_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:385.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/dbg_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:394.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/dbg_trace_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:403.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/dbg_timer_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:411.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/cfg_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:419.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/h2f_user0_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:427.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/emac_0_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:435.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/emac_1_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:443.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/usb_mp_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:452.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/spi_m_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:461.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/can0_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:470.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/can1_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:479.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/gpio_db_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:488.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/h2f_user1_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:496.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdmmc_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:496.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdmmc_clk:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:496.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdmmc_clk:clocks: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:505.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/sdmmc_clk_divided:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:514.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/nand_x_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:514.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/nand_x_clk:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:514.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/nand_x_clk:clocks: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:522.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/nand_ecc_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:530.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/nand_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:539.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/qspi_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:539.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/qspi_clk:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:539.6-31: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/qspi_clk:clocks: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:547.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/ddr_dqs_clk_gate:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:555.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/ddr_2x_dqs_clk_gate:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:563.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/ddr_dq_clk_gate:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:571.6-22: Warning (clocks_property): /soc/clkmgr@ffd04000/clocks/h2f_user2_clk:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:582.4-19: Warning (clocks_property): /soc/fpga_bridge@ff400000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:590.4-19: Warning (clocks_property): /soc/fpga_bridge@ff500000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:608.4-20: Warning (clocks_property): /soc/ethernet@ff700000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:627.4-20: Warning (clocks_property): /soc/ethernet@ff702000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:658.4-20: Warning (clocks_property): /soc/gpio@ff708000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:680.4-20: Warning (clocks_property): /soc/gpio@ff709000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:702.4-20: Warning (clocks_property): /soc/gpio@ff70a000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:725.4-20: Warning (clocks_property): /soc/i2c@ffc04000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:738.4-20: Warning (clocks_property): /soc/i2c@ffc05000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:751.4-20: Warning (clocks_property): /soc/i2c@ffc06000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:763.4-20: Warning (clocks_property): /soc/i2c@ffc07000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:822.4-25: Warning (clocks_property): /soc/dwmmc0@ff704000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:822.4-25: Warning (clocks_property): /soc/dwmmc0@ff704000:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:841.4-30: Warning (clocks_property): /soc/nand@ff900000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:841.4-30: Warning (clocks_property): /soc/nand@ff900000:clocks: cell 1 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:841.4-30: Warning (clocks_property): /soc/nand@ff900000:clocks: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:886.4-20: Warning (clocks_property): /soc/spi@fff00000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:905.4-20: Warning (clocks_property): /soc/spi@fff01000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:921.4-20: Warning (clocks_property): /soc/timer@fffec600:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:928.4-20: Warning (clocks_property): /soc/timer0@ffc08000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:939.4-20: Warning (clocks_property): /soc/timer1@ffc09000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:950.4-19: Warning (clocks_property): /soc/timer2@ffd00000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:961.4-19: Warning (clocks_property): /soc/timer3@ffd01000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:974.4-20: Warning (clocks_property): /soc/serial0@ffc02000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:987.4-20: Warning (clocks_property): /soc/serial1@ffc03000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1005.4-20: Warning (clocks_property): /soc/usb@ffb00000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1019.4-20: Warning (clocks_property): /soc/usb@ffb40000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1033.4-19: Warning (clocks_property): /soc/watchdog@ffd02000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1042.4-19: Warning (clocks_property): /soc/watchdog@ffd03000:clocks: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:975.4-33: Warning (dmas_property): /soc/serial0@ffc02000:dmas: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:975.4-33: Warning (dmas_property): /soc/serial0@ffc02000:dmas: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:988.4-33: Warning (dmas_property): /soc/serial1@ffc03000:dmas: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:988.4-33: Warning (dmas_property): /soc/serial1@ffc03000:dmas: cell 2 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1009.4-18: Warning (phys_property): /soc/usb@ffb00000:phys: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1023.4-18: Warning (phys_property): /soc/usb@ffb40000:phys: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:581.4-25: Warning (resets_property): /soc/fpga_bridge@ff400000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:589.4-25: Warning (resets_property): /soc/fpga_bridge@ff500000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:610.4-25: Warning (resets_property): /soc/ethernet@ff700000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:629.4-25: Warning (resets_property): /soc/ethernet@ff702000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:724.4-25: Warning (resets_property): /soc/i2c@ffc04000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:737.4-25: Warning (resets_property): /soc/i2c@ffc05000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:750.4-25: Warning (resets_property): /soc/i2c@ffc06000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:762.4-25: Warning (resets_property): /soc/i2c@ffc07000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:930.4-25: Warning (resets_property): /soc/timer0@ffc08000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:941.4-25: Warning (resets_property): /soc/timer1@ffc09000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:952.4-25: Warning (resets_property): /soc/timer2@ffd00000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:963.4-25: Warning (resets_property): /soc/timer3@ffd01000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1007.4-25: Warning (resets_property): /soc/usb@ffb00000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1021.4-25: Warning (resets_property): /soc/usb@ffb40000:resets: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1071.4-28: Warning (gpios_property): /leds/hps0:gpios: cell 0 is not a phandle reference\n/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts:1081.4-28: Warning (gpios_property): /gpio-keys/reset:gpios: cell 0 is not a phandle reference\n--\u003e Compilation of the Linux Device Tree file \"socfpga_cy5.dts\" done\n    Name of outputfile: \"socfpga_cy5.dtb\"\n   Exclute the file \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dts\" from the list\n== File processing for the folder is done\nNumber of files: 4\n--\u003e Calculate the entire size of partition no.1\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/uboot_a10.scr\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/zImage\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dtb\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga.rbf\n--\u003e Scan path \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3\" to find a files inside it\n--\u003e Uncompress Archive files\n    Looking for archive files inside the top folder\nProcess .tar files\nProcess .tar.gz files\nUnzip the file:\" /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/rootfs.tar.gz\"\nProcess .tar.gz files\n--\u003e Uncompressing of all files is done\n   Exclute the archive file \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/rootfs.tar.gz\" from the list\n== File processing for the folder is done\nNumber of files: 15\n--\u003e Calculate the entire size of partition no.2\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/etc\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/etc\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/sys\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/sys\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/mnt\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/mnt\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/home\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/home\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/boot\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/boot\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/tmp\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/tmp\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/media\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/media\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/run\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/run\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/proc\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/proc\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/sbin\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/sbin\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/var\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/var\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/dev\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/dev\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/usr\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/usr\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/lib\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/lib\"\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/bin\n   Calculate folder size of folder \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/bin\"\n--\u003e Scan path \"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_3_raw\" to find a files inside it\n== File processing for the folder is done\nNumber of files: 1\n--\u003e Calculate the entire size of partition no.3\n   Read file size of: /home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_3_raw/u-boot-with-spl.sfp\n---\u003e Insert the partition list to the image generator\n-\u003e Print the loaded Partition table\n-------------------------------------------------------------------\n                    -- Partition Table -- \n                     --- Partition No. 1 ---\n     Filesystem: vfat |   Size: *\n     Offset: 1M\n     File2copy: 15M | Total: 16M\n     Filled: 94%\n        L--  Size: 0B | Offset: 1048576B | Total: 16740940B\n                     --- Partition No. 2 ---\n     Filesystem: ext3 |   Size: *\n     Offset: 500M\n     File2copy: 761M | Total: 2G\n     Filled: 60%\n        L--  Size: 0B | Offset: 524288000B | Total: 1321369265B\n                     --- Partition No. 3 ---\n     Filesystem: raw |   Size: *\n     Offset: 20M\n     File2copy: 826K | Total: 21M\n     Filled: 4%\n        L--  Size: 0B | Offset: 20971520B | Total: 21817242B\n-------------------------------------------------------------------\n  Total Image size: 2G  1359927447B\n-------------------------------------------------------------------\n  Image File Name: \"LinuxDistro20200723_1334.img\"\n-------------------------------------------------------------------\nStart generating the image by typing anything to continue ... (q/Q for quite) \n--\u003e Start generating all partitions of the table\n[sudo] password for vm: \n--\u003e Create loopback device\n/dev/loop10\nlosetup: /home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.\nlosetup: /home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.\n    Loopback device used:/dev/loop11\n--\u003e Calculate partition blocks and sectors for the table \n   Pat.:1 Start: 2048 Block size: 32699\n   Pat.:2 Start: 34748 Block size: 2580801\n   Pat.:3 Start: 2615550 Block size: 42613\n--\u003e Create Partition Table\n   with loopback device: /dev/loop11\n   \"fdisk\" pipe is open\n   Create Partition No. 1 with fdisk\n   Write the Filesystem type: vfat HEX: b\n    = done\n   Create Partition No. 2 with fdisk\n   Write the Filesystem type: ext3 HEX: 83\n    = done\n   Create Partition No. 3 with fdisk\n   Write the Filesystem type: raw HEX: a2\n    = done\n   Progess change with fdisk and leave\n   fdisk work done\n--\u003e Check partition with partprobe\n    = Okay\n--\u003e Remove the loopback \"/dev/loop11\"\n  + Prase partition Number 1\n--\u003e Prase partition with ID:1\n--\u003e Create loopback device\nlosetup: /home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.\n    Loopback device used:/dev/loop11\n--\u003e Format partition\n--\u003e Format partition with: mkfs.vfat\n   Execute Linux command mkfs.vfat\n   Execution is done\n--\u003e Copy all files to the partition No.1\n--\u003e Mount filesystem vfat to the partition\n   Create mounting point folder /tmp/1595504084_32535\n   = done\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/uboot_a10.scr\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/zImage\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga_cy5.dtb\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_1_vfat/socfpga.rbf\"\n   == Done\n--\u003e Unmount Partition with  mounting point \"/tmp/1595504084_32535\"\n--\u003e Remove the loopback \"/dev/loop11\"\n   = Done\n  + Prase partition Number 2\n--\u003e Prase partition with ID:2\n--\u003e Create loopback device\nlosetup: /home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.\n    Loopback device used:/dev/loop11\n--\u003e Format partition\n--\u003e Format partition with: mkfs.ext3\n   Execute Linux command mkfs.ext3\n   Execution is done\n--\u003e Copy all files to the partition No.2\n--\u003e Mount filesystem ext3 to the partition\n   Create mounting point folder /tmp/1595504093_32535\n   = done\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/etc\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/sys\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/mnt\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/home\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/boot\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/tmp\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/media\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/run\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/proc\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/sbin\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/var\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/dev\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/usr\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/lib\"\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_2_ext3/bin\"\n   == Done\n--\u003e Unmount Partition with  mounting point \"/tmp/1595504093_32535\"\n--\u003e Remove the loopback \"/dev/loop11\"\n   = Done\n  + Prase partition Number 3\n--\u003e Prase partition with ID:3\n--\u003e Create loopback device\nlosetup: /home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.\n    Loopback device used:/dev/loop11\n--\u003e Format partition\n--\u003e Format partition with: None\n--\u003e Copy all files to the partition No.3\n   Copy file:\"/home/vm/Desktop/LinuxBootImageFileGenerator/Image_partitions/Pat_3_raw/u-boot-with-spl.sfp\"\n   == Done\n--\u003e Remove the loopback \"/dev/loop11\"\n   = Done\n --\u003e Print the partition table of the final Image file with \"fdisk\"\nDisk /home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img: 1,27 GiB, 1359927296 bytes, 2656108 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes\nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0xacdf836b\n\nDevice                                                                     Boot   Start     End Sectors  Size Id Type\n/home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img1         2048   34747   32700   16M  b W95 \n/home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img2        34748 2615549 2580802  1,2G 83 Linu\n/home/vm/Desktop/LinuxBootImageFileGenerator/LinuxDistro20200723_1334.img3      2615550 2656107   40558 19,8M a2 unkn\n \n---\u003e Compress the output image as .zip\n--\u003e Zip the image file with the name \"LinuxDistro20200723_1334.zip\"\n   == Done\n\n################################################################################\n#                                                                              #\n#                        GENERATION WAS SUCCESSFUL                             #\n# -----------------------------------------------------------------------------#\n#                     Output file:\"Image_partitions\"                     #\n#                    Compressed Output file:\"LinuxDistro20200723_1334.zip\"                  #\n#                                                                              #\n#                           SUPPORT THE AUTHOR                                 #\n#                                                                              #\n#                            ROBIN SEBASTIAN                                   #\n#                     (https://github.com/robseb/)                             #\n#                            git@robseb.de                                     #\n#                                                                              #\n#    LinuxBootImageGenerator and rsYocto are projects, that I have fully       #\n#        developed on my own. No companies are involved in these projects.     #\n#        I am recently graduated as Master of Since of electronic engineering  #\n#                Please support me for further development                     #\n#                                                                              #\n################################################################################\n\n````\n\u003c/details\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n___\n\n    \n\n# Author\n\n* *rsyocto*; **Robin Sebastian,M.Sc. [(LinkedIn)](https://www.linkedin.com/in/robin-sebastian-a5080220a)**\n\n*LinuxBootImageFileGenerator* and *rsyocto* are self-developed projects in which no other companies are involved. \nIt is specifically designed to serve students and the Linux/FPGA open-source community with its publication on GitHub and its open-source MIT license. \nIn the future, *rsyocto* will retain its open-source status and it will be further developed. \n\nDue to the enthusiasm of commercial users, special features for industrial, scientific and automotive applications \nwere developed and ready for the implementation in a highly optimazed closed commercial version. \nPartnerships as an embedded SoC-FPGA design service to fulfil these specific commercial requirements are offered. \nIt should help, besides students with the *rsyocto* open-source version, commercial users, as well.   \n\n**For commercial users, please visit the *rsyocto* embedded service provider website:** \n[**rsyocto.com**](https://rsyocto.com/)\n\n[![Gitter](https://badges.gitter.im/rsyocto/community.svg)](https://gitter.im/rsyocto/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n[![Email me!](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](mailto:git@robseb.de)\n\n[![GitHub stars](https://img.shields.io/github/stars/robseb/LinuxBootImageGenerator?style=social)](https://GitHub.com/robseb/LinuxBootImageGenerator/stargazers/)\n[![GitHub watchers](https://img.shields.io/github/watchers/robseb/LinuxBootImageGenerator?style=social)](https://github.com/robseb/LinuxBootImageGenerator/watchers)\n[![GitHub followers](https://img.shields.io/github/followers/robseb?style=social)](https://github.com/robseb)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobseb%2Flinuxbootimagefilegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobseb%2Flinuxbootimagefilegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobseb%2Flinuxbootimagefilegenerator/lists"}