Programming/php2015. 1. 13. 15:18

php 콘솔명령어를 이용하여


$ php file.php 


를 실행하면

결과를 뱉어내서 에러 라인을 확인할 수 있다.


우오옹!!

'Programming > php' 카테고리의 다른 글

php chunked encdoing  (0) 2015.02.02
PHP 웹 다국어 지원 트릭  (0) 2015.02.02
php simpleXML saveXML 정렬하기 (well-formed XML)  (0) 2014.12.23
php simpleXML  (0) 2014.12.22
xcache 1.3.2 for php 5.3.22 for ARM  (0) 2014.11.11
Posted by 구차니
Linux/Ubuntu2015. 1. 12. 17:59

분명히 존재하는 녀석인데 안되서 멘붕 -_-

찾아보니.. libc6-i386 과 같이

64bit OS에 32bit 실행환경을 추가해주면 된다고 하니 실험은 해봐야지..


---

헐.. 레알이다?!?!?!

$ sudo apt-get install libc6-i386

$ ./arm-fsl-linux-gnueabi-gcc

arm-fsl-linux-gnueabi-gcc: no input files



$ sudo apt-get remove libc6-i386

$ ./arm-fsl-linux-gnueabi-gcc

bash: ./arm-fsl-linux-gnueabi-gcc: No such file or directory



[링크 : http://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists]

'Linux > Ubuntu' 카테고리의 다른 글

intel 내장형 SATA RAID 컨트롤러 /dev/mapping  (0) 2015.02.11
ld.so ?  (0) 2015.02.11
ssh 로그인시 apt-check 프로세스 cpu 점유  (0) 2014.12.24
manpath  (0) 2014.12.07
ctrl - alt - t 로 터미널 실행  (0) 2014.09.04
Posted by 구차니
Programming/qt2015. 1. 12. 14:31

mkspecs로 어떻게 하는거 같은데

4.8대 내용만 보이고 5.x 대 내용은 잘 안보이는것 같다...


[링크 : http://doc.qt.io/qt-5/supported-platforms.html]

    [링크 : http://qt-project.org/wiki/Category:Devices]

    [링크 : http://qt-project.org/wiki/AddDevice]

[링크 : http://www.qt.io/download-open-source/#]

    [링크 : http://download.qt-project.org/.../qt/5.4/5.4.0/single/qt-everywhere-opensource-src-5.4.0.tar.gz]



아.. 몰라몰라 일단 중단

'Programming > qt' 카테고리의 다른 글

qt 4.8.5 neon / cross compile  (0) 2015.01.15
qt 4.8.5 neon 활성화 하기  (1) 2015.01.15
qt dom  (0) 2014.12.22
qt 4.8.5 임베디드 빌드 옵션  (0) 2014.12.16
qt 5.3 html5 v8  (0) 2014.12.16
Posted by 구차니
embeded/ARM2015. 1. 12. 10:42

플랫폼

Ubuntu 14.04 LTS

ltib 13.2.1 (cvs)


Package                Minimum ver   Installed info

-------                -----------   ---------------

glibc-devel            0             not installed

zlib                   0             not installed

zlib-devel             0             not installed

ncurses-devel          0             not installed

m4                     0             not installed

bison                  0             not installed


$ sudo apt-get install libncurses-dev bison zlibc zlib1g-dev

[링크 : http://ubuntuforums.org/showthread.php?t=1632027]



32비트의 경우 아래의 내용으로

$ vi ltib/bin/Ltibutils.pm

 559 $app_checks = {

 560     binutils         => 'ar --version 2>/dev/null',

 561     'gcc-c++'        => 'g++ --version 2>/dev/null',

 562     glibc            => 'ldd --version 2>/dev/null',

 563     'glibc-devel'    => sub { -f '/usr/lib/i386-linux-gnu/libm.so' || -f '/usr/lib/i386-linux-gnu/libz.so'},

 564     'glibc-headers'  => sub { -f '/usr/include/stdio.h' },

 565     'libstdc++' => sub {

 566             return system_nb(<<TXT) == 0;

 567 echo '#include <iostream>

 568 int main() { std::cout << "test"; }' | g++ -x c++ - -o /dev/null

 569 TXT

 570                        },

 571     lkc              => 'mconf -h 2>/dev/null',

 572     ncurses          => 'tic -V 2>/dev/null',

 573     'ncurses-devel'  => sub { -f '/usr/include/ncurses.h' },

 574     'rpm-build'      => sub { `rpmbuild --version 2>/dev/null` },

 575     sudo             => 'sudo -V 2>/dev/null',

 576     tcl              => "echo 'puts \$tcl_patchLevel' | tclsh",

 577     texinfo          => sub {

 578                        warn  "WARNING: you may also need to install:"

 579                             ." tetex-fonts, dialog and textex\n"

 580                          unless  -f '/usr/share/texmf/tex/texinfo/texinfo.tex';

 581                         `makeinfo --version 2>/dev/null`;

 582                     },

 583     zlib         => sub { my @f = (glob('/usr/lib/libz.so*'),

 584                                    glob('/lib/libz.so*'),

 585                                    glob('/lib/i386-linux-gnu/libz.so*')  ); @f > 1 ? 1 : 0 },

 586     'zlib-devel' => sub { -f '/usr/include/zlib.h' },

 587 }; 


[링크 : http://markdingst.blogspot.kr/2011/06/ltib-1105-miss-zlib-under-ubuntu-1104.html]


64비트는 링크의 내용으로

[링크 : https://community.freescale.com/thread/311978]




으아악 막혔다!!! ㅠㅠ

rpmdb: --force-debian: unknown option
Died at ./ltib line 2340.
traceback:
 main::setup_rpmdb:2340
  main::check_rpm_setup:2403
   main::host_checks:1423
    main:542


Started: Mon Jan 12 00:37:29 2015
Ended:   Mon Jan 12 00:37:30 2015
Elapsed: 1 seconds


Build Failed



$ vi ltib

2341 set -e

2342 $cf->{sudo} $cf->{rpm} --root $cf->{rpmroot} --dbpath $cf->{rpmdb} --initdb ||

2343 $cf->{sudo}       rpm   --root $cf->{rpmroot} --dbpath $cf->{rpmdb} --initdb

2344 TXT

2345     } elsif($do_rebuild) {

2346         system_nb(<<TXT) == 0 or die;

2347 set -e

2348 $cf->{sudo} $cf->{rpm} --root $cf->{rpmroot} --dbpath $cf->{rpmdb} --define '_tmppath $cf->{tmppath}' --rebuilddb

2349 $cf->{sudo}        rpm --root $cf->{rpmroot} --dbpath $cf->{rpmdb} --define '_tmppath $cf->{tmppath}' --rebuilddb

2350 TXT 


[링크 : http://cvs.savannah.gnu.org/viewvc/ltib/ltib?root=ltib&r1=1.76&r2=1.77]

 [링크 : https://community.freescale.com/thread/263568]


Processing: lkc

=================

Build path taken because: directory build, no prebuilt rpm, 


Cowardly refusing to clobber existing directory:

 /opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4

Remove this by hand if you really want to rebuild this package from scratch


Died at ./ltib line 1380.

traceback:

 main::build_host_rpms:1380

  main::host_checks:1435

   main:542


[링크 : https://community.freescale.com/message/271839#271839]




----


$ sudo apt-get install libncurses-dev bison perl libwww-perl alien cvs

$ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/ltib co -P ltib

$ cd ltib

$ wget https://community.freescale.com/servlet/JiveServlet/downloadBody/93455-102-3-2835/patch-ltib-ubuntu12.04.sh

$ chmod +x patch-ltib-ubuntu12.04.sh

$ ./patch-ltib-ubuntu12.04.sh


$ sudo visudo

interm ALL = NOPASSWD: /usr/bin/rpm, /opt/ltib/usr/bin/rpm


$ ./ltib 


wget-ssl에서 실패 -_-

[링크 : https://community.freescale.com/thread/324608]

[링크 : https://lists.gnu.org/archive/html/bug-wget/2011-08/msg00041.html]

--without-ssl  삭제


[링크 : http://ltib.org/resources-download#ref_2]

[링크 : https://community.freescale.com/docs/DOC-93455]



우분투 하위버전은 지원하긴 하는데.. 왜케 안되는거야 -_-

x86 Linux

    Redhat: 7.3, 8.0, 9.0, Enterprise release 4

    Fedora Core: 1, 2, 3, 4, 5, 8

    Debian: 3.1r0 (stable), unstable, 4.0

    Suse: 8.2, 9.1, 9.2, 10.0, 10.2, 10.3

    Ubuntu 6.10, 7.04, 7.10, 8.04


[링크 : http://ltib.org/documentation-LtibFaq]


-- 2015.02.10 추가

[링크 : https://importgeek.wordpress.com/2014/05/13/i-mx28-ltib-on-ubuntu-13-04/]


패치

[링크 : https://turbosree.wordpress.com/tag/freescale-ltib-on-ubuntu-12-04/]

    [링크 : https://community.freescale.com/docs/DOC-93455]

    [링크 : https://community.freescale.com/.../93454-102-3-2834/ubuntu-ltib-patch.tgz]

[링크: https://community.freescale.com/thread/308138]

    [링크 : https://community.freescale.com/.../download/271839-220893/438-CreateUbuntu1110ltib110901.docx]


---

2015.04.13

$cf->{rpm} = "rpm" 을 $cf->{rpm} = "rpm --force-debian"$cf->{rpm} = "rpm" 을 $cf->{rpm} = "rpm --force-debian"

[링크 : http://poongbek.blogspot.kr/2011/06/ltib.html]

'embeded > ARM' 카테고리의 다른 글

NEON enabled?  (0) 2015.01.28
armel / armhf  (0) 2015.01.26
i.mx283 부팅모드  (0) 2015.01.09
freescale imx283 boot error code  (0) 2015.01.07
Unknown HZ value! (91) Assume 100.  (0) 2015.01.05
Posted by 구차니

14년 12월 8일 갈아탔는데

아직까지 요금청구가 안온다!!

좀 일찍 오면 속이 편할텐데..



아무튼

현재까지 사용요금은 5676원

가입비는 없는줄 알았는데.. 인터넷 가입이 아니라 2400원 * 3개월인가?

처음에 3개월은 써야 한다고 했던 항목이 아마도.. 가입비 인듯 하고..

어라 웬 데이터 통화료?



일단 가입비는.. 7200원으로 인하되었다는데

3개월이니까 2400*3 = 7200 일 듯...


음... 스마트폰(종량)-일반은 찾아봐도.. 3g로 데이터 이용시 부과한다는 것 정도 밖에 안보이고..

핸드폰 결제랑 3g 막는다고 했는데 안 막힌건가?

일단 휴대폰결제 이용거부는 되어있다.


Posted by 구차니
embeded/Cortex-M3 STM2015. 1. 10. 22:30

cortex-m3 라고 해서..

ti의 lm3s1968 / 1607 가지고 놀던 시절의

steallaris 이런걸 생각했는데...


역시 Ti가 짱이었나 싶을 정도로 먼가 많이 미흡한 느낌이랄까..

아무튼 Ride7 이라는 녀석도 체험판이고.. 이래저래 에효...

'embeded > Cortex-M3 STM' 카테고리의 다른 글

STM32F103 관련 용어  (0) 2021.02.02
CMSIS for stm32  (0) 2018.02.12
stm32 DMA 관련글들  (0) 2017.12.11
cmsis printf  (0) 2017.01.10
stm32 cortex-m3 api / library  (0) 2015.01.17
Posted by 구차니
embeded/ARM2015. 1. 9. 23:33

USB Recovery mode로 인해

SD나 MMC 부팅 실패시 USB 부팅모드로 넘어가게 된다. (기본값)

설정에 따라서는 USB 복구 모드를 끌수는 있으나 아무튼 기본값 -_-


이런 중요(!)한 내용이 왜.. cpu 관련 내용에는 없고

EVK 관련 내용에 있는걸까 -_-


12.13.4 USB Recovery Mode

USB boot mode is provided as a fail-safe mechanism for writing system firmware to the boot media. The boot mode is not usually entered by the normal methods of setting the boot pins or OTP, the other methods of entering USB boot mode are referred to generally as recovery mode.

An end user can manually start the recovery mode by holding the recovery switch for several seconds while plugging in USB. Holding the recovery switch is defined as reading the i.MX28 PSWITCH input as a 0x3. There are several switch circuits that will produce this input. The loader also automatically starts recovery mode if a nonrecoverableerror is detected from any boot mode other than USBdisabled completely. Attempts to enter USB boot mode through boot pins, OTP, or recovery methods will result in a chip power-down.


[링크 : http://cache.freescale.com/...=pdf&WT_ASSET=Documentation&fileExt=.pdf]


'embeded > ARM' 카테고리의 다른 글

armel / armhf  (0) 2015.01.26
ltib on ubuntu  (0) 2015.01.12
freescale imx283 boot error code  (0) 2015.01.07
Unknown HZ value! (91) Assume 100.  (0) 2015.01.05
크로스 컴파일 옵션 configure --host  (0) 2014.10.13
Posted by 구차니

네트워크 관련 프로세서 설명에서 있어서 검색.

일단.. Forward Error Correction 이라는 것도 있지만 이건 아니니까


[링크 : http://en.wikipedia.org/wiki/Forwarding_equivalence_class]

[링크 : http://en.wikipedia.org/wiki/Multiprotocol_Label_Switching]

[링크 : http://www.cisco.com/.../multiprotocol-label-switching-mpls/mpls/4649-mpls-faq-4649.html#qa4]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

Gigabit / Terabit Ethernet  (0) 2015.05.18
CAN 통신 우선순위  (0) 2015.01.23
CIDR - Classless Inter-Domain Routing  (0) 2013.08.07
802.11n 108Mbps 150Mbps  (0) 2012.12.22
whois  (0) 2011.05.23
Posted by 구차니


> help

?       - alias for 'help'

autoscr - DEPRECATED - use "source" command instead

base    - print or set address offset

bdinfo  - print Board Info structure

boot    - boot default, i.e., run 'bootcmd'

bootd   - boot default, i.e., run 'bootcmd'

bootm   - boot application image from memory

bootp   - boot image via network using BOOTP/TFTP protocol

cmp     - memory compare

coninfo - print console devices and information

cp      - memory copy

crc32   - checksum calculation

dhcp    - boot image via network using DHCP/TFTP protocol

echo    - echo args to console

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls   - list files in a directory (default /)

go      - start application at address 'addr'

help    - print online help

iminfo  - print header information for application image

imxtract- extract a part of a multi-image

itest   - return true/false on integer compare

loadb   - load binary file over serial line (kermit mode)

loads   - load S-Record file over serial line

loady   - load binary file over serial line (ymodem mode)

loop    - infinite loop on address range

md      - memory display

mii     - MII utility commands

mm      - memory modify (auto-incrementing address)

mmc     - MMC sub system

mmcinfo - mmcinfo <dev num>-- display MMC info

mtest   - simple RAM read/write test

mw      - memory write (fill)

mxs_mmc - MXS specific MMC sub system

nfs     - boot image via network using NFS protocol

nm      - memory modify (constant address)

ping    - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

rarpboot- boot image via network using RARP/TFTP protocol

reset   - Perform RESET of the CPU

run     - run commands in an environment variable

saveenv - save environment variables to persistent storage

setenv  - set environment variables

sleep   - delay execution for some time

source  - run script from memory

tftpboot- boot image via network using TFTP protocol

version - print monitor version


> help cmp

cmp - memory compare


Usage:

cmp [.b, .w, .l] addr1 addr2 count


> help cp

cp - memory copy


Usage:

cp [.b, .w, .l] source target count


> help md

md - memory display


Usage:

md [.b, .w, .l] address [# of objects]


> help mm

mm - memory modify (auto-incrementing address)


Usage:

mm [.b, .w, .l] address


> help mtest

mtest - simple RAM read/write test


Usage:

mtest [start [end [pattern [iterations]]]]


> help mw

mw - memory write (fill)


Usage:

mw [.b, .w, .l] address value [count]


> help nm

nm - memory modify (constant address)


Usage:

nm [.b, .w, .l] address


[링크 : http://breadnborisu.blogspot.kr/2010/01/5.html]

'프로그램 사용 > u-boot' 카테고리의 다른 글

ubuntu 12.04 xinetd/tftpd 느린 이유  (0) 2016.11.08
uboot bootargs 기본값 설정하기  (0) 2015.02.09
u-boot 포팅 가이드  (0) 2013.08.31
u-boot 설명서  (0) 2013.06.21
uboot 포팅 - falinux 링크  (0) 2013.06.18
Posted by 구차니

gedit에는 ctags 연동이 되는데

notepad++에는 없나 해서 찾아봤떠니 으아!!!


Source Cookifier(ctags)

Source Switch(header <-> source code)



그리고 vi 명령모드를 지원하는 ViSimulator!!!


[링크 : http://iamaman.tistory.com/1175]

[링크 : http://www.visimulator.com/]

Posted by 구차니