'Linux'에 해당되는 글 65건

  1. 2012.03.28 [LPC3250] Kernel boot message
  2. 2012.03.28 [LPC3250] kernel partition
  3. 2012.03.28 [LPC3250] High Resoulution Timer Support
  4. 2012.03.08 [ubuntu] rpm to deb
  5. 2012.02.07 libpng 1.5.8 cross compile
  6. 2012.02.07 zlib 1.2.6 cross compile
  7. 2012.02.02 u-boot loader(the Universal Boot Loader) 사이트 및 버전
  8. 2012.02.02 [ubuntu] 부팅시 lp 모듈 로딩하지 않기
  9. 2011.12.08 ttf(truetype) 폰트로 bdf 폰트 만들기
  10. 2011.11.28 cifs mount

[LPC3250] Kernel boot message

Uncompressing Linux............................................................................................... done, booting the kernel.
�Linux version 2.6.27.8 (shellbt@ubuntu) (gcc version 4.3.2 (crosstool-NG-1.3.1) ) #1 PREEMPT Wed Mar 28 13:46:30 KST 2012
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Phytec 3250 board with the LPC3250 Microcontroller
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200n81 root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.192.192.205 init=/sbin/init
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60676KB available (3700K code, 238K data, 232K init)
Calibrating delay loop... 103.68 BogoMIPS (lpj=207360)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
Invalid board descriptor!
LPC32XX DMA driver
LPC32XX unique ID: 0005b6dd75701b6e591c8cb710af2800
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
yaffs Mar 28 2012 13:43:11 Installing.
msgmni has been set to 118
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x40090000 (irq = 9) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x40080000 (irq = 7) is a 16550A
serial8250.0: ttyS2 at MMIO 0x40088000 (irq = 8) is a 16550A
serial8250.0: ttyS3 at MMIO 0x40098000 (irq = 10) is a 16550A
lpc32xx_hsuart.0: ttyTX0 at MMIO 0x40014000 (irq = 26) is a lpc32xx_hsuart
lpc32xx_hsuart.0: ttyTX1 at MMIO 0x40018000 (irq = 25) is a lpc32xx_hsuart
lpc32xx_hsuart.0: ttyTX2 at MMIO 0x4001c000 (irq = 24) is a lpc32xx_hsuart
loop: module loaded
nbd: registered device at major 43
usbcore: registered new interface driver ub
LPC32XX_mii_bus: probed
eth0: LPC32XX mac at 0x31060000 irq 29
eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=0:1f, irq=-1)
Driver 'sd' needs updating - please use bus_type methods
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Bad eraseblock 1 at 0x00020000
Creating 4 MTD partitions on "lpc32xx_nand":
0x00000000-0x00180000 : "phy3250-boot"
0x00180000-0x001c0000 : "phy3250-ubt-prms"
0x001c0000-0x005c0000 : "phy3250-kernel"
0x005c0000-0x08000000 : "phy3250-rootfs"
Enable SPI clock
ttySCMA0 at I/O 0x1 (irq = 79) is a sc16is752
ttySCMA1 at I/O 0x2 (irq = 79) is a sc16is752
usbmon: debugfs is not available
I2C device at address 0x2d<6>ISP1301 Vendor ID  : 0x04cc
ISP1301 Product ID : 0x1301
ISP1301 Version ID : 0x0210
usb-ohci usb-ohci: at 0xf3120000, irq 0
usb-ohci usb-ohci: pnx4008 OHCI
usb-ohci usb-ohci: new USB bus registered, assigned bus number 1
usb-ohci usb-ohci: irq 59, io mem 0xf3120000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
input: devkit3250-buttons as /class/input/input0
Initial gpio driver
rtc-lpc32xx rtc-lpc32xx: rtc core: registered rtc-lpc32xx as rtc0
i2c /dev entries driver
PNX4008-WDT: PNX4008 Watchdog Timer: heartbeat 19 sec
mmci-pl18x: DMA buffer(10000 bytes), P:0x839a0000, V:0xffc1c000
mmc0: MMCI rev 0 cfg 00 at 0x0000000020098000 irq 15,13
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.17.
ASoC version 0.13.2
UDA1380 Audio Codec 0.6<6>asoc: UDA1380 <-> lpc3xxx-i2s1 mapping ok
ALSA device list:
  #0: LPC32XX (UDA1380)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 1
rtc-lpc32xx rtc-lpc32xx: setting system clock to 2016-06-20 20:47:54 UTC (1466455674)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
     device=eth0, addr=192.192.192.205, mask=255.255.255.0, gw=255.255.255.255,
     host=192.192.192.205, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 232K
Warning: unable to open an initial console.
Failed to execute /sbin/init.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

'임베디드 > LPC3250' 카테고리의 다른 글

stage1 app information  (0) 2012.04.05
[LPC3250] bootargs  (0) 2012.03.28
[LPC3250] root 파일 시스템 파일명  (0) 2012.03.28
[LPC3250] kernel partition  (0) 2012.03.28
[LPC3250] High Resoulution Timer Support  (0) 2012.03.28

[LPC3250] kernel partition

LPC3250 devkit의 커널 파티션 정보

Creating 4 MTD partitions on "lpc32xx_nand":
0x00000000-0x00180000 : "phy3250-boot"
0x00180000-0x001c0000 : "phy3250-ubt-prms"
0x001c0000-0x005c0000 : "phy3250-kernel"
0x005c0000-0x08000000 : "phy3250-rootfs"

'임베디드 > LPC3250' 카테고리의 다른 글

stage1 app information  (0) 2012.04.05
[LPC3250] bootargs  (0) 2012.03.28
[LPC3250] root 파일 시스템 파일명  (0) 2012.03.28
[LPC3250] Kernel boot message  (0) 2012.03.28
[LPC3250] High Resoulution Timer Support  (0) 2012.03.28

[LPC3250] High Resoulution Timer Support

linux kernel 2.6.27.8에서 설정한다.

이 기능은 고분해능 타이머를 사용 할 수 있게 해 준다.

이 타이머는 나노초 단위로 작동한다.

해당하는 함수로는

void hrtimer_init( struct hrtimer *time, clockid_t which_clock,
enum hrtimer_mode mode ); int hrtimer_start(struct hrtimer *timer, ktime_t time,

const enum hrtimer_mode mode);

int hrtimer_cancel(struct hrtimer *timer);
int hrtimer_try_to_cancel(struct hrtimer *timer);
int hrtimer_callback_running(struct hrtimer *timer);

예)

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hrtimer.h>
#include <linux/ktime.h>

MODULE_LICENSE( "GPL" );

#define MS_TO_NS(x)	(x * 1E6L)

static struct hrtimer hr_timer;

enum hrtimer_restart my_hrtimer_callback( struct hrtimer *timer )
{
  printk( "my_hrtimer_callback called (%ld).\n", jiffies );

  return HRTIMER_NORESTART;
}

int init_module( void )
{
  ktime_t ktime;
  unsigned long delay_in_ms = 200L;

  printk("HR Timer module installing\n");

  ktime = ktime_set( 0, MS_TO_NS(delay_in_ms) );

  hrtimer_init( &hr_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL );
  
  hr_timer.function = &my_hrtimer_callback;

  printk( "Starting timer to fire in %ldms (%ld)\n", 
delay_in_ms, jiffies ); hrtimer_start( &hr_timer, ktime, HRTIMER_MODE_REL ); return 0; } void cleanup_module( void ) { int ret; ret = hrtimer_cancel( &hr_timer ); if (ret) printk("The timer was still in use...\n"); printk("HR Timer module uninstalling\n"); return; }

'임베디드 > LPC3250' 카테고리의 다른 글

stage1 app information  (0) 2012.04.05
[LPC3250] bootargs  (0) 2012.03.28
[LPC3250] root 파일 시스템 파일명  (0) 2012.03.28
[LPC3250] Kernel boot message  (0) 2012.03.28
[LPC3250] kernel partition  (0) 2012.03.28

[ubuntu] rpm to deb

설치
sudo apt-get install alien

변환 명령
sudo alien -k RPM_NAME.rpm

인스톨패키지만들기
sudo dpkg -i DEB_NAME.deb

rpm을 바로 deb로 만들기
sudo alien -i RPM_NAME.rpm

libpng 1.5.8 cross compile

toolchain : arm-linux-3.2.3
configure : ./configure --prefix=$PWD/_install --host=arm-linux --build=i686-pc-linux-gnu

make && make install

'임베디드' 카테고리의 다른 글

mkfs.jffs2 버그  (0) 2012.10.12
CoOS - Arm Cortex M3 용 RTOS  (0) 2012.07.10
zlib 1.2.6 cross compile  (0) 2012.02.07
u-boot loader(the Universal Boot Loader) 사이트 및 버전  (0) 2012.02.02
busybox용 tftp 사용법  (0) 2011.12.13

zlib 1.2.6 cross compile

toolchain : arm-linux-3.2.3
configure : CC=arm-linux-gcc RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --prefix=$PWD/_install --shared

make && make install

'임베디드' 카테고리의 다른 글

CoOS - Arm Cortex M3 용 RTOS  (0) 2012.07.10
libpng 1.5.8 cross compile  (0) 2012.02.07
u-boot loader(the Universal Boot Loader) 사이트 및 버전  (0) 2012.02.02
busybox용 tftp 사용법  (0) 2011.12.13
[s3c6410] SDL_ttf Cross Compile  (0) 2011.12.07

u-boot loader(the Universal Boot Loader) 사이트 및 버전

u-boot의 공식 홈 주소는
http://www.denx.de/wiki/U-Boot/WebHome

버전 메기는 방법이 바뀌서 기존 x.x.x 가 아니라 타임스탬프로 버전을 나타낸다.
끝에 rcX 로 들어가는 것들은 release candiate 소스를 나타낸다.

'임베디드' 카테고리의 다른 글

libpng 1.5.8 cross compile  (0) 2012.02.07
zlib 1.2.6 cross compile  (0) 2012.02.07
busybox용 tftp 사용법  (0) 2011.12.13
[s3c6410] SDL_ttf Cross Compile  (0) 2011.12.07
yaffs2 이미지 만들기  (0) 2011.12.06

[ubuntu] 부팅시 lp 모듈 로딩하지 않기

/etc/modules에 lp을 주석 처리 한다.

'리눅스' 카테고리의 다른 글

eclipse quick bookmark plugin  (0) 2012.03.07
[OpenOffice] 스프레드시트에서 열(행) 고정하기  (0) 2012.02.06
cifs mount  (0) 2011.11.28
[ubuntu] checkinstall - deb 패키지 만들기  (0) 2011.10.27
[ubuntu] 모듈 blacklist  (0) 2011.10.19

ttf(truetype) 폰트로 bdf 폰트 만들기

otf2bdf 라는 유틸이 필요하다.

$ otf2bdf <TTF 파일이름> -o <BDF 파일이름> -p <폰트사이즈>

'develop' 카테고리의 다른 글

eclipse에서 한글 인코딩 사용하기  (0) 2012.02.09
eclipse 기존 프로젝트 불러오기  (0) 2012.01.26
linux kernel thread  (0) 2011.11.16
DEBUG macro  (0) 2011.11.11
[pastebin.com] 간단한 소스코드 공유 사이트  (0) 2011.10.12

cifs mount

sudo mount -t cifs -o username=shellbt //serverip/shared_directory /mountpoint

* windows에서 everyone으로 공유폴더를 설정해도, 아이디와 패스워드를 입력해야지만 마운트가 된다.
결국, 마운트용 윈도우즈 계정을 만들어야 하낟.
prev 1 2 3 4 5 ··· 7 next