[Arm-netbook] SATA - ATAS

joem joem at martindale-electric.co.uk
Tue Sep 10 16:21:22 BST 2013


On Tue, 2013-09-10 at 15:59 +0100, luke.leighton wrote:
> sorry, joe - you might have to do a "git pull", i might not have done
> a git push this end :)
> 
> check around like 95 of arch/arm/mach-sun7i/pm/standby/Makefile it should be:
> 
> SUSPEND_LD_FILE = suspend.xn
> RESUME1_LD_FILE = resume1.xn
> RESUME0_LD_FILE = resume0.xn
> 
> CC = $(CROSS_COMPILE)gcc-4.4
> 
> #CFLAGS = -g -c -nostdlib -march=armv7-a -marm -fno-unwind-tables
> -fno-asynchronous-unwind-tables -mlittle-endian
> --min_array_alignment=4 --no_unaligned_access -O2
> CFLAGS = -g -c -nostdlib -march=armv7-a -marm -D__STANDBY_MODULE__
> -fno-unwind-tables -fno-asynchronous-unwind-tables -mlittle-endian -O0
> #--min_array_alignment=4 --no_unaligned_access
> 
> 
> 
> > cc1: error: unrecognized command line option "-fmin_array_alignment=4"
> > cc1: error: unrecognized command line option "-fno_unaligned_access"
> 
>  yep that's cos i didn't commit the Makefile corrections to use gcc 4.4.

Thank you.

I did git pull, and make clean and then tried to compile
and went a lot further but got the messages here
http://www.gplsquared.com/eoma_boot/compile_error3.txt


The last few lines of the error were:
arm-linux-gnueabihf-gcc-4.4 -I. -I/home/jm/code/eoma/linux/include
-I/home/jm/code/eoma/linux/arch/arm/mach-sun7i/include  -g -c -nostdlib
-march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables
-fno-asynchronous-unwind-tables -mlittle-endian -O0  dram/dram_init.c
-o dram/dram_init.o
arm-linux-gnueabihf-ld -T resume1.xn
-EL  ./super/common.o ./super/super_twi.o ./super/super_delay.o ./super/super_clock.o ./super/super_power.o ./super/super_tmr.o ./super/dram/dram.o ./super/dram/dram_init.o ./super/resume/resume1.o ./../mem_cpu.o ./../mem_mmu_pc.o ./../mem_mmu_pc_asm.o ./../mem_serial.o ./../mem_printk.o ./../pm_debug.o ./../mem_timing.o ./../mem_divlibc.o ./../mem_divlib.o -o resume1.elf  -Map resume1.map
arm-linux-gnueabihf-objdump -D resume1.elf > resume1.lst
arm-linux-gnueabihf-gcc-4.4 -I. -I/home/jm/code/eoma/linux/include
-I/home/jm/code/eoma/linux/arch/arm/mach-sun7i/include  -g -c -nostdlib
-march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables
-fno-asynchronous-unwind-tables -mlittle-endian -O0  ./../mem_serial.c
-o 		./../mem_serial.o
arm-linux-gnueabihf-ld -T suspend.xn
-EL  ./super/common.o ./super/super_tmr.o ./super/super_clock.o ./super/super_twi.o ./super/super_delay.o ./super/super_power.o ./super/suspend/suspend.o ./super/dram/dram.o ./super/dram/dram_init.o ./../mem_cpu.o ./../mem_mmu_pc.o ./../mem_mmu_pc_asm.o ./../mem_serial.o ./../mem_printk.o ./../mem_divlib.o ./../mem_divlibc.o ./../mem_int.o ./../pm_debug.o ./../mem_timing.o -o suspend.elf  -Map suspend.map
arm-linux-gnueabihf-ld -T standby.xn  -EL  common.o standby.o
standby_clock.o standby_ir.o standby_key.o standby_power.o standby_tmr.o
standby_twi.o standby_usb.o standby_delay.o dram/dram.o
dram/dram_init.o ./../pm_debug.o ./../mem_mmu_pc_asm.o ./../mem_serial.o ./../mem_printk.o ./../mem_divlibc.o ./../mem_int.o ./../mem_timing.o ./../mem_divlib.o -o standby.elf  -Map standby.map
arm-linux-gnueabihf-objdump -D suspend.elf > suspend.lst
arm-linux-gnueabihf-objdump -D standby.elf > standby.lst
Segmentation fault (core dumped)
make: *** [suspend] Error 139
make: *** Waiting for unfinished jobs....
Segmentation fault (core dumped)
make: *** [standby] Error 139
Segmentation fault (core dumped)
make: *** [resume1] Error 139
make: Leaving directory
`/home/jm/code/eoma/linux/arch/arm/mach-sun7i/pm/standby'
jm at jm-inspiron:~/code/eoma/linux$ 




More information about the arm-netbook mailing list