[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 8/9] PPC: Add u-boot firmware for e50
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 8/9] PPC: Add u-boot firmware for e500 |
Date: |
Fri, 16 May 2014 15:11:52 +0200 |
Hi,
> +u-boot.e500:
> + # examples fail to honor cflags, just remove them
> + rm -rf u-boot/examples
> + sed -i 's/examples//g' u-boot/Makefile
> + # Make linker script biarch aware
> + sed -i 's/OUTPUT_ARCH(powerpc)/OUTPUT_ARCH(powerpc:common)/' \
> + u-boot/arch/powerpc/cpu/mpc85xx/u-boot.lds
Hmm. Mucking with the source tree like this will leave the u-boot git
tree in a dirty state, which isn't exactly nice. Fixable by sprinkling
in a "git reset --hard", but that obviously has other downsides, such as
seriously disturbing people trying to build a u-boot tree with local
changes.
Any chance to fix that without patching the source tree, by passing
SUBDIRS="<list-dirs-without-examples>" to $(MAKE) for example?
Or send patches to u-boot upstream to tackle this?
> + # Compile u-boot
> + $(MAKE) -C u-boot O=build.e500 qemu-ppce500_config
> + $(MAKE) -C u-boot CROSS_COMPILE=$(powerpc64_cross_prefix) \
> + O=build.e500 KCFLAGS=-m32 KAFLAGS=-m32 \
> + LDFLAGS=-melf32ppc KCPPFLAGS=-m32 V=1 u-boot.bin
> + strip u-boot/build.e500/u-boot -o ../pc-bios/u-boot.e500
$(powerpc64_cross_prefix)strip I guess ...
cheers,
Gerd
- [Qemu-ppc] [PATCH 2/9] PPC: Add definitions for GIVORs, (continued)
- [Qemu-ppc] [PATCH 2/9] PPC: Add definitions for GIVORs, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 7/9] PPC: e500: Expose kernel load address in dt, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 9/9] PPC: e500: Move to u-boot as firmware, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 5/9] PPC: Properly emulate L1CSR0 and L1CSR1, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 6/9] PPC: Add dcbtls emulation, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 4/9] PPC: Add L1CFG1 SPR emulation, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 3/9] PPC: Fix SPR access control of L1CFG0, Alexander Graf, 2014/05/15
- [Qemu-ppc] [PATCH 8/9] PPC: Add u-boot firmware for e500, Alexander Graf, 2014/05/15
Re: [Qemu-ppc] [PATCH 0/9] PPC: e500: Use u-boot as firmware, Alexander Graf, 2014/05/15