(GTA02) updated NOR image build and install procedure

Nigel Cunningham nigel at suspend2.net
Sun May 11 14:08:36 CEST 2008


Hi.

On Sun, 2008-05-11 at 12:12 +0100, Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> 
> | Note: moving to "origin/stable" which isn't a local branch
> | If you want to create a new branch from this checkout, you may do so
> | (now or later) by using -b with the checkout command again. Example:
> |   git checkout -b <new_branch_name>
> | HEAD is now at 4ec6097... nand_skip_bad.patch
> |
> | Is that okay? I'm not a git guru :)
> 
> If you plan to make edits, you don't want to use an origin/* branch for
> anything.  This is used to keep a clean copy of what the repo you got it
> from has in it.
> 
> If you don't plan to make edits, it's fine.
> 
> Otherwise make a branch for your work based off origin/stable, you can
> use the advice in the warning, eg,
> 
> git checkout -b nigel
> 
> will get you a copy you can meddle with while leaving origin/stable clean.

Okee doke. I'm used to making new branches locally, but not to dealing
with pulling from remote branches in this way (I've never seen the above
message before).

> |> make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- gta02v6_config
> |> make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- u-boot.udfu
> |
> | I've installed the x86_64 toolchain, and get at this point:
> |
> | [...]
> | make[1]: Nothing to be done for `u-boot.lds'.
> | make[1]: Leaving directory
> `/home/nigel/Programming/openmoko/u-boot/board/neo1973/gta02'
> | UNDEF_SYM=`arm-angstrom-linux-gnueabi-objdump -x
> lib_generic/libgeneric.a board/neo1973/gta02/libgta02.a
> cpu/arm920t/libarm920t.a cpu/arm920t/s3c24x0/libs3c24x0.a
> lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
> fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
> net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a
> drivers/block/libblock.a drivers/dma/libdma.a drivers/hwmon/libhwmon.a
> drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a
> drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a
> drivers/mtd/nand_legacy/libnand_legacy.a
> drivers/mtd/onenand/libonenand.a drivers/net/libnet.a
> drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
> drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a
> drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a
> post/libpost.a post/drivers/libpostdrivers.a common/libcommon.a
> libfdt/libfdt.a api/libapi.a |sed  -n -e
> 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|
> |  uniq`;\
> | 		cd /home/nigel/Programming/openmoko/u-boot &&
> arm-angstrom-linux-gnueabi-ld
> - -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
> - -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
> - -Wl,-O1 -Bstatic -T
> /home/nigel/Programming/openmoko/u-boot/board/neo1973/gta02/u-boot.lds
> - --defsym raise=hang -Ttext 0x33F80000 $UNDEF_SYM cpu/arm920t/start.o \
> | 			--start-group lib_generic/libgeneric.a
> board/neo1973/gta02/libgta02.a cpu/arm920t/libarm920t.a
> cpu/arm920t/s3c24x0/libs3c24x0.a lib_arm/libarm.a fs/cramfs/libcramfs.a
> fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
> fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a
> disk/libdisk.a drivers/bios_emulator/libatibiosemu.a
> drivers/block/libblock.a drivers/dma/libdma.a drivers/hwmon/libhwmon.a
> drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a
> drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a
> drivers/mtd/nand_legacy/libnand_legacy.a
> drivers/mtd/onenand/libonenand.a drivers/net/libnet.a
> drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
> drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a
> drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a
> post/libpost.a post/drivers/libpostdrivers.a common/libcommon.a
> libfdt/libfdt.a api/libapi.a --end-group -L
> /usr/local/openmoko/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2 -l
> |  gcc \
> | 			-Map u-boot.map -o u-boot
> | arm-angstrom-linux-gnueabi-ld: unrecognized option
> '-Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib'
> | arm-angstrom-linux-gnueabi-ld: use the --help option for usage information
> | make: *** [u-boot] Error 1
> 
> Dunno, sorry.

Okay. Hopefully someone else will.

Thanks!

Nigel





More information about the openmoko-kernel mailing list