Author Topic: Cubieboard2 stability  (Read 20297 times)

Offline luminofor

  • Full Member
  • ***
  • Posts: 213
  • Karma: +1/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #30 on: March 14, 2014, 09:55:56 am »
Yes, I did all the instructions, but I get an error. Perhaps I have curves hands.  ;D
Thank you very much! Hope my CB2 will now work normally

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #31 on: March 14, 2014, 09:59:02 am »
What is your error?
Do you have a serial line?

Offline luminofor

  • Full Member
  • ***
  • Posts: 213
  • Karma: +1/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #32 on: March 14, 2014, 10:21:39 am »
What is your error?
Do you have a serial line?
Code: [Select]
rootm@rootm ~/u-boot $ CROSS_COMPILE=arm-linux-gnueabihf- make cubieboard2
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
dirname: пропущен операнд
По команде «dirname --help» можно получить дополнительную информацию.
Configuring for Cubieboard2 - Board: sun7i, Options: CUBIEBOARD2,SPL,SUNXI_GMAC,STATUSLED=244,STATUSLED1=245,FAST_MBUS
make
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
dirname: пропущен операнд
По команде «dirname --help» можно получить дополнительную информацию.
make[1]: Вход в каталог `/home/rootm/u-boot'
Generating include/autoconf.mk
/bin/bash: строка 3: arm-linux-gnueabihf-gcc: команда не найдена
Generating include/autoconf.mk.dep
/bin/bash: строка 3: arm-linux-gnueabihf-gcc: команда не найдена
make[1]: Выход из каталога `/home/rootm/u-boot'
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
dirname: пропущен операнд
По команде «dirname --help» можно получить дополнительную информацию.
make[1]: Вход в каталог `/home/rootm/u-boot'
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
/bin/bash: arm-linux-gnueabihf-ld: команда не найдена
Generating include/spl-autoconf.mk
/bin/bash: строка 3: arm-linux-gnueabihf-gcc: команда не найдена
Generating include/tpl-autoconf.mk
/bin/bash: строка 3: arm-linux-gnueabihf-gcc: команда не найдена
arm-linux-gnueabihf-gcc -DDO_DEPS_ONLY \
-g  -Os   -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float  -D__KERNEL__  -I/home/rootm/u-boot/include  -I/home/rootm/u-boot/arch/arm/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__     -march=armv5 -Wall -Wstrict-prototypes       \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
/bin/bash: arm-linux-gnueabihf-gcc: команда не найдена
make[1]: *** [lib/asm-offsets.s] Ошибка 127
make[1]: Выход из каталога `/home/rootm/u-boot'
make: *** [cubieboard2] Ошибка 2
Sorry, my terminal speaks Russian


Here through Google translator
Code: [Select]
rootm @ rootm ~ / u-boot $ CROSS_COMPILE = arm-linux-gnueabihf-make cubieboard2
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
dirname: missing operand
At the command «dirname - help» to get more information .
Configuring for Cubieboard2 - Board: sun7i, Options: CUBIEBOARD2, SPL, SUNXI_GMAC, STATUSLED = 244 , STATUSLED1 = 245 , FAST_MBUS
make
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
dirname: missing operand
At the command «dirname - help» to get more information .
make [ 1] : Login directory `/ home / rootm / u-boot '
Generating include / autoconf.mk
/ bin / bash: line 3 : arm-linux-gnueabihf-gcc: command not found
Generating include / autoconf.mk.dep
/ bin / bash: line 3 : arm-linux-gnueabihf-gcc: command not found
make [ 1] : Leaving directory `/ home / rootm / u-boot '
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
dirname: missing operand
At the command «dirname - help» to get more information .
make [ 1] : Login directory `/ home / rootm / u-boot '
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
/ bin / bash: arm-linux-gnueabihf-ld: command not found
Generating include / spl-autoconf.mk
/ bin / bash: line 3 : arm-linux-gnueabihf-gcc: command not found
Generating include / tpl-autoconf.mk
/ bin / bash: line 3 : arm-linux-gnueabihf-gcc: command not found
arm-linux-gnueabihf-gcc-DDO_DEPS_ONLY \
-g-Os-ffunction-sections-fdata-sections-fno-common-ffixed-r9-msoft-float-D__KERNEL__ -I/home/rootm/u-boot/include -I/home/rootm/u-boot/arch / arm / include-fno-builtin-ffreestanding-nostdinc-isystem-pipe-DCONFIG_ARM-D__ARM__-march = armv5-Wall-Wstrict-prototypes \
-o lib / asm-offsets.s lib / asm-offsets.c-c-S
/ bin / bash: arm-linux-gnueabihf-gcc: command not found
make [ 1 ]: *** [lib / asm-offsets.s] Error 127
make [ 1] : Leaving directory `/ home / rootm / u-boot '
make: *** [cubieboard2] Error 2
« Last Edit: March 14, 2014, 10:24:23 am by luminofor »

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #33 on: March 14, 2014, 10:23:22 am »
Have you installed the cross compiler package?
Don't remember the exact name.

Offline luminofor

  • Full Member
  • ***
  • Posts: 213
  • Karma: +1/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #34 on: March 14, 2014, 10:27:55 am »
Have you installed the cross compiler package?
Don't remember the exact name.

That is done
Code: [Select]
sudo add-apt-repository ppa:linaro-maintainers/toolchain
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabi
Code: [Select]
apt-get install build-essential git debootstrap u-boot-tools
Code: [Select]
mkdir ~/bin
cd ~/bin
for i in /usr/bin/arm-linux-gnueabihf*-4.7 ; do j=${i##/usr/bin/}; ln -s $i ${j%%-4.7} ; done

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #35 on: March 14, 2014, 10:28:59 am »
have you tried my binary?

Offline luminofor

  • Full Member
  • ***
  • Posts: 213
  • Karma: +1/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #36 on: March 14, 2014, 10:31:14 am »
Exactly! I probably missed a Cross Compiler

have you tried my binary?
Not yet, I'm still at work, will try tonight

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #37 on: March 14, 2014, 10:42:33 am »
gnueabihf
hf is hard-float.
The package to intall would be gcc-arm-linux-gnueabihf

Offline luminofor

  • Full Member
  • ***
  • Posts: 213
  • Karma: +1/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #38 on: March 14, 2014, 11:00:30 am »
gnueabihf
hf is hard-float.
The package to intall would be gcc-arm-linux-gnueabihf
Ok, I'll try. But at home

Offline luminofor

  • Full Member
  • ***
  • Posts: 213
  • Karma: +1/-0
    • View Profile
Re: Cubieboard2 stability
« Reply #39 on: March 14, 2014, 05:08:08 pm »
have you tried my binary?
I tried your binary
Code: [Select]
cubie@cubieez:~$ sudo /home/cubie/a10-meminfo-static
dram_clk          = 432
dram_type         = 3
dram_rank_num     = 1
dram_chip_density = 4096
dram_io_width     = 16
dram_bus_width    = 32
dram_cas          = 9
dram_zq           = 0x7f
dram_odt_en       = 0
dram_tpr0         = 0x42d899b7
dram_tpr1         = 0xa090
dram_tpr2         = 0x22a00
dram_tpr3         = 0x0
dram_emr1         = 0x4
dram_emr2         = 0x10
dram_emr3         = 0x0
As seen frequency changed, see now how it will affect the stability of