Trouble with cywin under windows

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

PAT_McUser
Posts: 7
Joined: Wed Jun 11, 2014 1:24 pm

Trouble with cywin under windows

Thu Jun 12, 2014 11:46 am

Hi again,
I stoped trying on Linux because no one could/want help me.
(Ich noone knows nothing it's might be the same with everyone knows all.)

New problems on Windows, i tried:

Code: Select all

make mrproper
make at91sam9260eknf_uboot_defconfig CROSS_COMPILE=arm-linux-
make CROSS_COMPILE=arm-linux-
My result was:
/bin/expr: too few arguments
Try `/bin/expr --help' for more information.
CC
========
arm-linux-gcc

as FLAGS
========
-g -Os -Wall -Iboard/at91sam9260ek -Iinclude -DJUMP_ADDR=0x21F00000 -DTOP_OF_MEM
ORY=0x301000 -DMACH_TYPE=1099 -Dat91sam9260ek -DMACH_TYPE=1099 -DTOP_OF_MEMORY=0
x301000 -DCRYSTAL_18_432MHZ -DSAT91SAM9260 -DCONFIG_AT91SAM9260EK -mcpu=arm926ej
-s -DCONFIG_THUMB -mthumb-interwork

gcc FLAGS
=========
-ffunction-sections -g -Os -Wall -fno-stack-protector -Iboard/at91sam9260ek -Iin
clude -Ifs/include -DAT91BOOTSTRAP_VERSION="3.6.2" -DCOMPILE_TIME="Thu Jun 12 09
:17:28 GMT 2014" -DIMG_ADDRESS=0x00040000 -DIMG_SIZE=0x00080000 -DJUMP_ADDR=0x21
F00000 -DOF_OFFSET= -DOF_ADDRESS= -DMEM_BANK= -DMEM_SIZE= -DIMAGE_NAME="u-boot.b
in" -DLINUX_KERNEL_ARG_STRING="" -DTOP_OF_MEMORY=0x301000 -DMACH_TYPE=1099 -DCON
FIG_HW_INIT -Dat91sam9260ek -DMACH_TYPE=1099 -DTOP_OF_MEMORY=0x301000 -DCRYSTAL_
18_432MHZ -DAT91SAM9260 -DCONFIG_AT91SAM9260EK -mcpu=arm926ej-s -DCONFIG_THUMB -
mthumb -mthumb-interwork -DCONFIG_CRYSTAL_18_432MHZ -DCONFIG_CPU_CLK_200MHZ -DCO
NFIG_BUS_SPEED_100MHZ -DCONFIG_SDRAM -DCONFIG_RAM_64MB -DCONFIG_NANDFLASH -DCONF
IG_ENABLE_SW_ECC -DCONFIG_NANDFLASH_RECOVERY -DCONFIG_DISABLE_WATCHDOG

ld FLAGS
========
-nostartfiles -Map=/cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/binar
ies/at91sam9260ek-nandflashboot-uboot-3.6.2.map --cref -static -T elf32-littlear
m.lds --gc-sections -Ttext 0x200000

AS /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/crt0_gnu.S
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/main.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/board/at91sa
m9260ek/at91sam9260ek.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/lib/string.c

CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/lib/eabi_uti
ls.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/lib/div.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/at91_
pio.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/pmc.c

CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/at91_
pit.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/at91_
wdt.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/at91_
usart.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/sdram
c.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/nandf
lash.c
CC /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/driver/hammi
ng.c
mkdir /cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/binaries
0 [main] mkdir 3336 stdio_init: couldn't make stderr distinct from stdout
LD at91sam9260ek-nandflashboot-uboot-3.6.2.elf
stat: cannot stat `/cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/binar
ies/at91sam9260ek-nandflashboot-uboot-3.6.2.bin': No such file or directory
Size of at91sam9260ek-nandflashboot-uboot-3.6.2.bin is bytes
/bin/sh: line 2: [: : integer expression expected
[Succeeded] It's OK to fit into SRAM area
My questions:
/bin/expr: too few arguments
Which arguments are missing?
0 [main] mkdir 3336 stdio_init: couldn't make stderr distinct from stdout
Wtf? (What to do?)
stat: cannot stat `/cygdrive/c/LINUXboard/ARM9_source/at91bootstrap-master/binar
Am I right? this depens to the stdio-error?
Size of at91sam9260ek-nandflashboot-uboot-3.6.2.bin is bytes
/bin/sh: line 2: [: : integer expression expected
[Succeeded] It's OK to fit into SRAM area
Can't anyone do a fix on this? (okay, nothing IS smaller than any existing SRAM.)

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 2 guests