Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify LOADADDR on the commandline to build an uImage #18

Open
tosiara opened this issue Feb 13, 2015 · 5 comments
Open

Specify LOADADDR on the commandline to build an uImage #18

tosiara opened this issue Feb 13, 2015 · 5 comments

Comments

@tosiara
Copy link

tosiara commented Feb 13, 2015

Trying to compile imx_3.10.17_1.0.0_ga.
When running "make uImage" I get error:

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 uImage
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  Kernel: arch/arm/boot/Image is ready
  LZO     arch/arm/boot/compressed/piggy.lzo
  CC      arch/arm/boot/compressed/string.o
  SHIPPED arch/arm/boot/compressed/hyp-stub.S
  SHIPPED arch/arm/boot/compressed/lib1funcs.S
  SHIPPED arch/arm/boot/compressed/ashldi3.S
  AS      arch/arm/boot/compressed/lib1funcs.o
  AS      arch/arm/boot/compressed/ashldi3.o
  AS      arch/arm/boot/compressed/hyp-stub.o
  AS      arch/arm/boot/compressed/piggy.lzo.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
multiple (or no) load addresses: 
This is incompatible with uImages
Specify LOADADDR on the commandline to build an uImage
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2

Any suggestions how to work around this?
Thanks

@tosiara
Copy link
Author

tosiara commented Feb 13, 2015

Tried to pass manually LOADADDR=10008000, 80008000 - kernel does not boot. Stuks at "Starting kernel ...". Same as I had initially with 3.10 kernel: https://groups.google.com/d/msg/imx6-dongle/1M_xIrDPl-E/8_82Vftr4coJ

@esmil
Copy link

esmil commented Feb 13, 2015

Most recent builds of U-Boot can boot Linux zImages directly with bootz. Maybe you can try just building the zImage and then booting that with bootz.

Also make sure you have something like "console=ttymxc0,115200n8" in your bootargs variable, so the kernel outputs to your serial console when booting.

@tosiara
Copy link
Author

tosiara commented Feb 13, 2015

I wonder if latest U-boot supports GK802 out of the box?

@cyrilfr
Copy link

cyrilfr commented Sep 7, 2015

Hi,
I have exactly the same issue. Did you find a solution?

@derSteFfi
Copy link

The LOADADDR needs to be specified in with 0x prefix, just dropping because I found this while searching for something else...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants