Jump to content

initramfs-tools issue "unsupported architecture" unable to write to uboot


Recommended Posts

Hello,

unfortunatelly I post again, because of the latest problem with broken install of initramfs .... The system is unable to write it to uboot and gives the error about unsupported architecure. Every standard commands are probed, without result. it comes always the same error.

 

Quote

update-initramfs: Generating /boot/initrd.img-6.6.2-edge-rockchip64
update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.6.2-edge
-rockchip64

Invalid architecture, supported are:
    alpha            Alpha
    arc              ARC
    arm              ARM
    arm64            AArch64
    avr32            AVR32
    blackfin         Blackfin
    ia64             IA64
    invalid          Invalid ARCH
    m68k             M68K
    microblaze       MicroBlaze
    mips             MIPS
    mips64           MIPS 64 Bit
    nds32            NDS32
    nios2            NIOS II
    or1k             OpenRISC 1000
    powerpc          PowerPC
    riscv            RISC-V
    s390             IBM S390
    sandbox          Sandbox
    sh               SuperH
    sparc            SPARC
    sparc64          SPARC 64 Bit
    x86              Intel x86
    x86_64           AMD x86_64
    xtensa           Xtensa

Error: Invalid architecture
Usage: mkimage -l image
          -l ==> list image header information
       mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_
file[:data_file...] image
          -A ==> set architecture to 'arch'
          -O ==> set operating system to 'os'
          -T ==> set image type to 'type'
          -C ==> set compression type 'comp'
          -a ==> set load address to 'addr' (hex)
          -e ==> set entry point to 'ep' (hex)
          -n ==> set image name to 'name'
          -d ==> use image data from 'datafile'
          -x ==> set XIP (execute in place)
       mkimage [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b <dtb> [-b <dtb
>]] [-E] [-B size] [-i <ramdisk.cpio.gz>] fit-image
           <dtb> file is used with -f auto, it may occur multiple times.
          -D => set all options for device tree compiler
          -f => input filename for FIT source
          -i => input filename for ramdisk file
          -E => place data outside of the FIT structure
          -B => align size in hex for FIT structure and header
Signing / verified boot options: [-k keydir] [-K dtb] [ -c <comment>] [-p addr]
[-r] [-N engine]
          -k => set directory containing private keys
          -K => write public keys to this .dtb file
          -G => use this signing key (in lieu of -k)
          -c => add comment in signature node
          -F => re-sign existing FIT image
          -p => place external data at a static position
          -r => mark keys used as 'required' in dtb
          -N => openssl engine to use for signing
       mkimage -V ==> print version information and exit
Use '-T list' to see a list of available image types
run-parts: /etc/initramfs/post-update.d//99-uboot exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines