lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 15 Jun 2017 17:00:54 +0200
From:   Waldemar Brodkorb <wbx@...nadk.org>
To:     linux-kernel@...r.kernel.org
Cc:     Yoshinori Sato <ysato@...rs.sourceforge.jp>
Subject: h8300 for edosk2674 device

Hi,

the attached kernel config errors out with:
/usr/bin/make -f ./scripts/Makefile.build obj=arch/h8300/boot
arch/h8300/boot/uImage.bin
  /home/wbx/h8300/toolchain_hitachi-edosk2674_uclibc-ng/usr/bin/h8300-openadk-linux-uclibc-objcopy
-Obinary vmlinux arch/h8300/boot/vmlinux.bin
  /bin/bash ./scripts/mkuboot.sh -A h8300 -O linux -C none  -T
kernel -a  -e 0x00000000 -n 'Linux-4.11.5-1' -d
arch/h8300/boot/vmlinux.bin arch/h8300/boot/uImage.bin
Usage: /home/wbx/h8300/host_x86_64-linux-gnu/usr/bin/mkimage -l
image
          -l ==> list image header information
       /home/wbx/h8300/host_x86_64-linux-gnu/usr/bin/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)
       /home/wbx/h8300/host_x86_64-linux-gnu/usr/bin/mkimage [-D
dtc_options] [-f fit-image.its|-F] fit-image
          -D => set options for device tree compiler
          -f => input filename for FIT source
Signing / verified boot options: [-k keydir] [-K dtb] [ -c
<comment>] [-r]
          -k => set directory containing private keys
          -K => write public keys to this .dtb file
          -c => add comment in signature node
          -F => re-sign existing FIT image
          -r => mark keys used as 'required' in dtb
       /home/wbx/h8300/host_x86_64-linux-gnu/usr/bin/mkimage

Kernel 4.11.5 is tried to cross-compiled. The -a parameter to
mkimage is empty. What is the correct value?

I tried to use following patch, but the resulting kernel does not
boot on my device:
diff -Nur linux-4.9.20.orig/arch/h8300/Kconfig.cpu
linux-4.9.20/arch/h8300/Kconfig.cpu
--- linux-4.9.20.orig/arch/h8300/Kconfig.cpu    2017-03-31
10:32:02.000000000 +0200
+++ linux-4.9.20/arch/h8300/Kconfig.cpu 2017-04-04
08:10:00.132205323 +0200
@@ -96,4 +96,8 @@
         hex "Load offset"
        default 0
 
+config RAMBASE
+       hex "RAM base address"
+       default 0x400000
+
 endmenu

Any ideas?

best regards
 Waldemar

View attachment ".config" of type "text/plain" (22983 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ