Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: How to creat a device node in my /dev dir?

$
0
0

Hi,Aaron,

    This is the boot log of the 2009 release,I use the default config and only enable the SPI user space in the configuration:

bfin> bootm 1000000
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.28.10-ADI-2009R1
   Created:      2013-08-13   6:11:49 UTC
   Image Type:   Blackfin Linux Kernel Image (gzip compressed)
   Data Size:    3110951 Bytes = 3 MiB
   Load Address: 00001000
   Entry Point:  00232bac
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Starting Kernel at = 00232bac
Linux version 2.6.28.10-ADI-2009R1 (root@ubuntu) (gcc version 4.1.2 (ADI svn)) #
873 Mon Aug 12 23:11:37 PDT 2013
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 32MB
Kernel Managed Memory: 32MB
Memory map:
  fixedcode = 0x00000400-0x00000490
  text      = 0x00001000-0x00179bc0
  rodata    = 0x00179bc0-0x001e8110
  bss       = 0x001e9000-0x0020fa7c
  data      = 0x0020fa7c-0x00226000
    stack   = 0x00224000-0x00226000
  init      = 0x00226000-0x00541000
  available = 0x00541000-0x01eff000
  DMA Zone  = 0x01f00000-0x02000000
Hardware Trace Active and Enabled
Boot Mode: 3
Blackfin support (C) 2004-2009 Analog Devices, Inc.
Compiled for ADSP-BF518 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 80 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
Data Cache Enabled for CPU0 (write-back)
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 7873
Kernel command line: root=/dev/mtdblock3 rw rootfstype=jffs2 clkin_hz=25000000 e
arlyprintk=serial,uart0,57600 console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 128 (order: 7, 512 bytes)
I-pipe 1.10-00: pipeline enabled.
Console: colour dummy device 80x25
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory available: 26068k/32768k RAM, (3180k init code, 1506k kernel code, 690k d
ata, 1024k dma, 296k reserved)
Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (15 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)
net_namespace: 288 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
ezbrd_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
I-pipe: Domain Xenomai registered.
Xenomai: hal/blackfin started.
Xenomai: real-time nucleus v2.4.7 (Andalusia) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 50
io scheduler noop registered (default)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_
clk=2500000Hz(mdc_div=15)@sclk=80MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
physmap platform flash device: 00300000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 4096KiB chip to 3072KiB
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 1 MTD partitions on "physmap-flash.0":
0x00000000-0x00300000 : "file system(nor)"
m25p80 spi0.2: m25p128 (16384 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x00000000-0x00080000 : "bootloader(spi)"
0x00080000-0x00240000 : "linux kernel(spi)"
0x00240000-0x01000000 : "file system(spi)"
bfin-spi bfin-spi.0: cs5 >= max 5
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_b
ase@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
dma_alloc_init: dma_page @ 0x007ce000 - 256 pages at 0x01f00000
TCP cubic registered
NET: Registered protocol family 17
Distributed Switch Architecture driver version 0.1
eth0: detected a KSZ8893M switch
dsa slave smi: probed
rtc-bfin rtc-bfin: setting system clock to 1970-05-18 21:10:44 UTC (11913044)
Freeing unused kernel memory: 3180k freed
   *************************************************************
  *       check the username and passwords successful!          *
   *************************************************************
  *            _   _     _                                      *
  *          / _| | |   |_|            __  __ (TM)              *
  *   _   _ | |   | |    _ ____  _   _ \ \/ /                   *
  *  | | | || |   | |   | |  _ \| | | | \  /     uClinux        *
  *  | |_| || |__ | |__ | | | | | |_| | /  \   www.naritech.cn  *
   * \_____| \___/\____||_|_| |_|\____|/_/\_\                  *
     *********************************************************
           *  **This is a uClinux for naritech!**  *
           *****************************************
           * ~~~    ~~     ~~~     ~~~~~~   ~~~~~~ *
           * ~~ ~   ~~    ~~ ~~    ~~    ~    ~~   *
           * ~~  ~  ~~   ~~   ~~   ~~~~~~     ~~   *
           * ~~   ~ ~~  ~~  ~~ ~~  ~~ ~       ~~   *
           * ~~    ~~~ ~~       ~~ ~~  ~~~  ~~~~~~ *
           *****************************************
                 **Welcome to naritech!**
/root/start.sh: not found
init: Booting to single user mode


BusyBox v1.13.4 (2013-08-12 00:40:51 PDT) built-in shell (msh)
Enter 'help' for a list of built-in commands.

root:/> eth1: link up, 100 Mb/s, full duplex
Trying 100/FULL
PHY: 0:03 - Link is Up - 100/Full
root:/> ls dev/
console             ram8                stderr              tty39
cpu_dma_latency     ram9                stdin               tty4
fd                  random              stdout              tty40
full                rtc0                tty                 tty41
kmsg                rtheap              tty0                tty42
mem                 rtp0                tty1                tty43
mtd0                rtp1                tty10               tty44
mtd0ro              rtp10               tty11               tty45
mtd1                rtp11               tty12               tty46
mtd1ro              rtp12               tty13               tty47
mtd2                rtp13               tty14               tty48
mtd2ro              rtp14               tty15               tty49
mtd3                rtp15               tty16               tty5
mtd3ro              rtp16               tty17               tty50
mtdblock0           rtp17               tty18               tty51
mtdblock1           rtp18               tty19               tty52
mtdblock2           rtp19               tty2                tty53
mtdblock3           rtp2                tty20               tty54
network_latency     rtp20               tty21               tty55
network_throughput  rtp21               tty22               tty56
null                rtp22               tty23               tty57
ptmx                rtp23               tty24               tty58
pts                 rtp24               tty25               tty59
ram0                rtp25               tty26               tty6
ram1                rtp26               tty27               tty60
ram10               rtp27               tty28               tty61
ram11               rtp28               tty29               tty62
ram12               rtp29               tty3                tty63
ram13               rtp3                tty30               tty7
ram14               rtp30               tty31               tty8
ram15               rtp31               tty32               tty9
ram2                rtp4                tty33               ttyBF0
ram3                rtp5                tty34               urandom
ram4                rtp6                tty35               vcs
ram5                rtp7                tty36               vcsa
ram6                rtp8                tty37               watchdog
ram7                rtp9                tty38               zero
root:/>


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>