Jump to content

shineworld

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

931 profile views
  1. I'm in same conditions... I've a Orange PI 4 LTS and with an IMX447/IMX219. Arbiam for rockchip at moment do not manage rk-isp10 (ISP). I will try to add it in next days...
  2. Is the Cubieboard 2 a true Mac Address or is random generated or fixed in firmware ? Thank you very much.
  3. I've tried same thing on PC and after bind to rfcomm0 the GUI present a request for PIN code... Seems that /var/lib/bluetooth/xx:xx:xx:xx:xx/pairing file method don't works so in a CLI system PIN code can't be entered I've tried with bluetoothhctl agent to pair the USB dongle: root@cubieboard2:/# bluetoothctl [NEW] Controller 00:15:83:E3:4B:90 cubieboard2 [default] [bluetooth]# power on Changing power on succeeded [bluetooth]# scan on Discovery started [CHG] Controller 00:15:83:E3:4B:90 Discovering: yes [NEW] Device 30:14:12:26:06:04 IQ021-0006 [bluetooth]# agent on Agent registered [bluetooth]# pair 30:14:12:26:06:04 Attempting to pair with 30:14:12:26:06:04 [CHG] Device 30:14:12:26:06:04 Connected: yes Request PIN code [agent] Enter PIN code: 1234 [CHG] Device 30:14:12:26:06:04 UUIDs: 00001101-0000-1000-8000-00805f9b34fb [CHG] Device 30:14:12:26:06:04 Paired: yes Pairing successful [CHG] Device 30:14:12:26:06:04 Connected: no [bluetooth]# quit Agent unregistered [DEL] Controller 00:15:83:E3:4B:90 cubieboard2 [default] root@cubieboard2:/# rfcomm -a root@cubieboard2:/# rfcomm bind rfcomm0 30:14:12:26:06:04 1 root@cubieboard2:/# rfcomm -a rfcomm0: 30:14:12:26:06:04 channel 1 clean root@cubieboard2:/# picocom -b 9600 /dev/rfcomm0 picocom v1.7 port is : /dev/rfcomm0 flowcontrol : none baudrate is : 9600 parity is : none databits are : 8 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv imap is : omap is : emap is : crcrlf,delbs, Terminal ready Now system connect fine to /dev/rfcomm0 If someone know a NON interactive way to insert pairing PIN code I will be very happy. Mine is a system without any user interface where a user attach its USB dongle and must get access to rfcommxx just after plug. Thank you very much for suggestions !!! Silverio Diquigiovanni
  4. Hi all. I've got an issue trying to use Bluetooth and RFCOMM. My system is: Cubieboard2 running latest img and updated with apt-get update/upgrade: ____ _ _ _ _ ____ / ___| _| |__ (_) ___| |__ ___ __ _ _ __ __| | |___ \ | | | | | | '_ \| |/ _ \ '_ \ / _ \ / _` | '__/ _` | __) | | |__| |_| | |_) | | __/ |_) | (_) | (_| | | | (_| | / __/ \____\__,_|_.__/|_|\___|_.__/ \___/ \__,_|_| \__,_| |_____| Welcome to ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.12-sunxi System load: 0.07 Up time: 30 min Memory usage: 7 % of 1001Mb IP: 192.168.1.108 CPU temp: 33°C Usage of /: 34% of 7.2G Last login: Sun Mar 12 15:08:57 2017 from 192.168.1.103 root@cubieboard2:~# uname -a Linux cubieboard2 4.9.12-sunxi #4 SMP Thu Feb 23 19:46:51 CET 2017 armv7l GNU/Linux When I plug the Bluetooth USB dongle I get following dmesg: root@cubieboard2:~# dmesg -c [ 102.456773] usb 4-1: new full-speed USB device number 2 using ohci-platform [ 102.726860] usb 4-1: New USB device found, idVendor=1131, idProduct=1004 [ 102.726883] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 102.726893] usb 4-1: Product: ISSCEDRBTA [ 102.726903] usb 4-1: Manufacturer: ISSC [ 102.809982] Bluetooth: Core ver 2.22 [ 102.810123] NET: Registered protocol family 31 [ 102.810130] Bluetooth: HCI device and connection manager initialized [ 102.810158] Bluetooth: HCI socket layer initialized [ 102.810175] Bluetooth: L2CAP socket layer initialized [ 102.810269] Bluetooth: SCO socket layer initialized [ 102.852031] usbcore: registered new interface driver btusb [ 103.285771] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 103.285785] Bluetooth: BNEP filters: protocol multicast [ 103.285806] Bluetooth: BNEP socket layer initialized root@cubieboard2:~# lsmod Module Size Used by bnep 8221 2 btusb 21996 0 btrtl 3731 1 btusb btbcm 4867 1 btusb btintel 5439 1 btusb bluetooth 247916 24 btrtl,btintel,bnep,btbcm,btusb cfg80211 337391 0 rfkill 8383 3 bluetooth,cfg80211 sun4i_codec 10104 3 evdev 9412 1 snd_soc_core 97876 1 sun4i_codec snd_pcm_dmaengine 2770 1 snd_soc_core snd_pcm 57757 2 snd_pcm_dmaengine,snd_soc_core nvmem_sunxi_sid 1967 0 ir_lirc_codec 4088 0 snd_timer 14809 1 snd_pcm nvmem_core 7158 1 nvmem_sunxi_sid lirc_dev 6245 1 ir_lirc_codec snd 35783 3 snd_timer,snd_soc_core,snd_pcm soundcore 858 1 snd sun4i_ts 3414 0 sunxi_cir 3159 0 sun4i_ss 13213 0 cpufreq_dt 2920 0 uio_pdrv_genirq 2780 0 uio 6272 1 uio_pdrv_genirq bonding 82855 0 fuse 62841 1 root@cubieboard2:~# hciconfig -a hci0: Type: BR/EDR Bus: USB BD Address: 00:15:83:E3:4B:90 ACL MTU: 510:8 SCO MTU: 48:10 UP RUNNING RX bytes:541 acl:0 sco:0 events:28 errors:0 TX bytes:1333 acl:0 sco:0 commands:28 errors:0 Features: 0xff 0xfe 0xff 0xfe 0x98 0x3f 0x79 0x83 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: 'cubieboard2' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 2.1 (0x4) Revision: 0x90e LMP Version: 2.1 (0x4) Subversion: 0x316 Manufacturer: Integrated System Solution Corp. (57) PS: how you can see with lsmod result the RFCOMM module isn't yet loaded. So BT dongle is working and I can find the desired a near powered HC - 05 Bluetooth Serial Module: root@cubieboard2:~# hcitool scan Scanning ... 30:14:12:26:06:04 IQ021-0006 root@cubieboard2:~# hcitool info 30:14:12:26:06:04 Requesting information ... BD Address: 30:14:12:26:06:04 Device Name: IQ021-0006 LMP Version: 2.1 (0x4) LMP Subversion: 0x1735 Manufacturer: Cambridge Silicon Radio (10) Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x59 0x83 <3-slot packets> <5-slot packets> <encryption> <slot offset> <timing accuracy> <role switch> <hold mode> <sniff mode> <park state> <RSSI> <channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme> <power control> <transparent SCO> <broadcast encrypt> <EDR ACL 2 Mbps> <EDR ACL 3 Mbps> <enhanced iscan> <interlaced iscan> <interlaced pscan> <inquiry with RSSI> <extended SCO> <EV4 packets> <EV5 packets> <AFH cap. slave> <AFH class. slave> <3-slot EDR ACL> <5-slot EDR ACL> <sniff subrating> <pause encryption> <AFH cap. master> <AFH class. master> <EDR eSCO 2 Mbps> <EDR eSCO 3 Mbps> <3-slot EDR eSCO> <extended inquiry> <simple pairing> <encapsulated PDU> <non-flush flag> <LSTO> <inquiry TX power> <extended features> HC-05 has a default PIN number of 1234 for authentication so I've added right info in pincodes file root@cubieboard2:/# echo "30:14:12:26:06:04 1234" >> /var/lib/bluetooth/00\:15\:83\:E3\:4B\:90/pincodes At this point I try to bind and connect HC-05 with RFCOMM module to get /dev/rfcomm0: root@cubieboard2:/# rfcomm -a root@cubieboard2:/# ls -p /dev/rfc* ls: cannot access /dev/rfc*: No such file or directory root@cubieboard2:/# rfcomm bind rfcomm0 30:14:12:26:06:04 1 root@cubieboard2:/# rfcomm -a rfcomm0: 30:14:12:26:06:04 channel 1 clean root@cubieboard2:/# ls -p /dev/rfc* /dev/rfcomm0 root@cubieboard2:/# lsmod Module Size Used by rfcomm 25714 1 bnep 8221 2 btusb 21996 0 btrtl 3731 1 btusb btbcm 4867 1 btusb btintel 5439 1 btusb bluetooth 247916 27 btrtl,btintel,bnep,btbcm,rfcomm,btusb cfg80211 337391 0 rfkill 8383 3 bluetooth,cfg80211 sun4i_codec 10104 3 evdev 9412 1 snd_soc_core 97876 1 sun4i_codec snd_pcm_dmaengine 2770 1 snd_soc_core snd_pcm 57757 2 snd_pcm_dmaengine,snd_soc_core nvmem_sunxi_sid 1967 0 ir_lirc_codec 4088 0 snd_timer 14809 1 snd_pcm nvmem_core 7158 1 nvmem_sunxi_sid lirc_dev 6245 1 ir_lirc_codec snd 35783 3 snd_timer,snd_soc_core,snd_pcm soundcore 858 1 snd sun4i_ts 3414 0 sunxi_cir 3159 0 sun4i_ss 13213 0 cpufreq_dt 2920 0 uio_pdrv_genirq 2780 0 uio 6272 1 uio_pdrv_genirq bonding 82855 0 fuse 62841 1 root@cubieboard2:/# dmesg -c [ 1088.424557] Bluetooth: RFCOMM TTY layer initialized [ 1088.424601] Bluetooth: RFCOMM socket layer initialized [ 1088.424637] Bluetooth: RFCOMM ver 1.11 /dev/rfcomm0 now exist and RFCOMM module is loaded by bluetooth module. At this point I try to send some chars to HC-05 using screen with #screen /dev/rfcomm0 but screen exit just after one second killing screen program. Same thing if I use picocom: root@cubieboard2:/# picocom -b 9600 /dev/rfcomm0 picocom v1.7 port is : /dev/rfcomm0 flowcontrol : none baudrate is : 9600 parity is : none databits are : 8 escape is : C-a local echo is : no noinit is : no noreset is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv imap is : omap is : emap is : crcrlf,delbs, Terminal ready FATAL: term closed Some ideas ? Thank you very much in advance !!! Silverio Diquigiovanni
  5. Kernel messages after reboot: root@cubieboard2:~# dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.113-sun7i (root@devel) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #40 SMP PREEMPT Thu Feb 2 01:44:33 CET 2017 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun7i [ 0.000000] Memory Reserved: [ 0.000000] SYS : 0x43000000 - 0x4300ffff ( 64 kB) [ 0.000000] LCD : 0x44000000 - 0x44ffffff ( 16 MB) [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] sunxi: Allwinner A20 (AW1651/sun7i) detected. [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] free_area_init_node: node 0, pgdat c0a89440, node_mem_map d0000000 [ 0.000000] DMA zone: 512 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 65024 pages, LIFO batch:15 [ 0.000000] Normal zone: 1008 pages used for memmap [ 0.000000] Normal zone: 128016 pages, LIFO batch:31 [ 0.000000] HighMem zone: 528 pages used for memmap [ 0.000000] HighMem zone: 67056 pages, LIFO batch:15 [ 0.000000] PERCPU: Embedded 8 pages/cpu @d0808000 s8256 r8192 d16320 u32768 [ 0.000000] pcpu-alloc: s8256 r8192 d16320 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 [ 0.000000] Kernel command line: root=UUID=cbf712c0-20d9-42f5-bc11-91a8b72c8301 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 ubootpart=df00fbab-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] allocated 2097152 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 1024MB = 1024MB total [ 0.000000] Memory: 1004732k/1004732k available, 43844k reserved, 270336K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc09e0ef4 (10084 kB) [ 0.000000] .init : 0xc09e1000 - 0xc0a19040 ( 225 kB) [ 0.000000] .data : 0xc0a1a000 - 0xc0a91d68 ( 480 kB) [ 0.000000] .bss : 0xc0a91d8c - 0xc0c66f78 (1877 kB) [ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:192 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] start_kernel(): bug: interrupts were enabled early [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.013297] Calibrating delay loop... 1816.98 BogoMIPS (lpj=9084928) [ 0.076009] pid_max: default: 32768 minimum: 301 [ 0.079671] Mount-cache hash table entries: 512 [ 0.083849] Initializing cgroup subsys cpuacct [ 0.087168] Initializing cgroup subsys memory [ 0.090592] Initializing cgroup subsys devices [ 0.094027] Initializing cgroup subsys freezer [ 0.097253] Initializing cgroup subsys blkio [ 0.100927] Initializing cgroup subsys perf_event [ 0.104504] CPU: Testing write buffer coherency: ok [ 0.109697] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.116799] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available [ 0.122338] Setting up static identity map for 0x407255a8 - 0x40725600 [ 0.238933] CPU1: Booted secondary processor [ 0.297236] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.299243] Brought up 2 CPUs [ 0.304553] SMP: Total of 2 processors activated (3640.52 BogoMIPS). [ 0.307773] devtmpfs: initialized [ 0.313600] dummy: [ 0.317260] NET: Registered protocol family 16 [ 0.323752] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.331658] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.336532] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.339687] [ccu-inf] aw clock manager init [ 0.341958] [ccu-inf] aw_ccu_init [ 0.345931] [ccu-inf] script config pll3 to 297MHz [ 0.349684] [ccu-inf] script config pll4 to 300MHz [ 0.353431] [ccu-inf] script config pll6 to 600MHz [ 0.357199] [ccu-inf] script config pll7 to 297MHz [ 0.360947] [ccu-inf] script config pll8 to 336MHz [ 0.363714] Init eGon pin module V2.0 [ 0.372970] bio: create slab <bio-0> at 0 [ 0.376536] sunxi_gpio driver init ver 1.3 [ 0.382197] gpiochip_add: registered GPIOs 1 to 2 on device: A1X_GPIO [ 0.385325] SCSI subsystem initialized [ 0.388173] libata version 3.00 loaded. [ 0.392862] usbcore: registered new interface driver usbfs [ 0.397189] usbcore: registered new interface driver hub [ 0.401365] usbcore: registered new device driver usb [ 0.404511] Linux media interface: v0.10 [ 0.408119] Linux video capture interface: v2.00 [ 0.413744] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.419322] Switching to clocksource arch_sys_counter [ 0.421451] FS-Cache: Loaded [ 0.423655] CacheFiles: Loaded [ 0.433677] cfg80211: Calling CRDA to update world regulatory domain [ 0.439686] [usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG [ 0.443538] [sw_hcd0]: usb host driver initialize........ [ 0.447705] [sw_hcd0]: open_usb_clock [ 0.471974] [sw_hcd0]: host_init_state = 1 [ 0.472958] [sw_hcd0]: platform is usb host [ 0.475868] [sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn) [ 0.487052] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 70 [ 0.499591] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver [ 0.506306] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1 [ 0.509761] hub 1-0:1.0: USB hub found [ 0.512696] hub 1-0:1.0: 1 port detected [ 0.516553] wrn: hcd is not enable, need not start hcd [ 0.517889] [sw_hcd0]: sw_usb_host0_disable start [ 0.523919] -------sw_hcd0_soft_disconnect--------- [ 0.526892] is_on = 0, hcd0_set_vbus_cnt = 0 [ 0.529943] [sw_hcd_host0]: Set USB Power Off [ 0.533688] wrn: hcd is not enable, need not stop hcd [ 0.534742] [sw_hcd0]: close_usb_clock [ 0.537204] [sw_hcd0]: sw_usb_host0_disable end [ 0.540413] [sw_udc]: udc_init: version 20080411 [ 0.546764] NET: Registered protocol family 2 [ 0.563378] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.570352] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.577905] TCP bind hash table entries: 65536 (order: 7, 786432 bytes) [ 0.584839] TCP: Hash tables configured (established 131072 bind 65536) [ 0.587042] TCP: reno registered [ 0.591919] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.597274] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.600861] NET: Registered protocol family 1 [ 0.606156] RPC: Registered named UNIX socket transport module. [ 0.609820] RPC: Registered udp transport module. [ 0.613501] RPC: Registered tcp transport module. [ 0.618893] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.623462] Trying to unpack rootfs image as initramfs... [ 0.874177] Freeing initrd memory: 3556K [ 0.879788] audit: initializing netlink socket (disabled) [ 0.883557] type=2000 audit(0.870:1): initialized [ 0.888079] highmem bounce pool size: 64 pages [ 0.899628] VFS: Disk quotas dquot_6.5.2 [ 0.905200] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.912359] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.917922] NFS: Registering the id_resolver key type [ 0.922414] NTFS driver 2.1.30 [Flags: R/W]. [ 0.925777] fuse init (API version 7.18) [ 0.930389] JFS: nTxBlock = 7877, nTxLock = 63018 [ 0.949634] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 0.953842] Btrfs loaded [ 0.956663] msgmni has been set to 1441 [ 0.964705] alg: No test for stdrng (krng) [ 0.971379] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.974307] io scheduler noop registered [ 0.977533] io scheduler deadline registered [ 0.981237] io scheduler cfq registered (default) [ 0.986096] sunxi disp driver loaded (/dev/disp api 1.0) [ 0.991656] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.996279] [uart]: used uart info.: 0x01 [ 1.000974] [uart]: serial probe 0 irq 33 mapbase 0x01c28000 [ 1.027261] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A [ 1.029842] console [ttyS0] enabled [ 1.032490] G2D: drv_g2d_init [ 1.035833] G2D: Module initialized.major:250 [ 1.044946] brd: module loaded [ 1.050818] loop: module loaded [ 1.054227] [NAND] nand driver version: 0x2 0x9 [ 1.119547] Dev Sunxi softw311 nand magic does not match for MBR 1: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.125605] Dev Sunxi softw311 nand magic does not match for MBR 2: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.131607] Dev Sunxi softw311 nand magic does not match for MBR 3: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.137625] Dev Sunxi softw311 nand magic does not match for MBR 4: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.145359] Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present. [ 1.151399] Dev Sunxi softw411 nand magic does not match for MBR 1: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.159462] Dev Sunxi softw411 nand magic does not match for MBR 2: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.167367] Dev Sunxi softw411 nand magic does not match for MBR 3: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.175391] Dev Sunxi softw411 nand magic does not match for MBR 4: \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff [ 1.183126] Dev Sunxi softw411 nand header bad for all MBR copies, MBR corrupted or not present. [ 1.186197] nand: unknown partition table [ 1.188644] [NAND]nand driver, ok. [ 1.194838] pwm-sunxi: pwm0 configured - period: 20, duty_percent: 50, duty: 10 [ 1.201215] sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP [ 1.205725] ahci: SSS flag set, parallel bus scan disabled [ 1.213138] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 1.220035] sw_ahci sw_ahci.0: flags: ncq sntf stag pm led clo only pio slum part ccc [ 1.223478] scsi0 : sw_ahci_platform [ 1.230699] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88 [ 1.234690] [spi-err] Get spi devices number failed [ 1.239392] [spi-err] register spi devices board info failed [ 1.248888] spi: cannot find any using configuration for all 4 spi controllers, return directly! [ 1.254979] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 1.259737] Fixed MDIO Bus: probed [ 1.263090] sunxi_emac Using mii phy on PortA [ 1.279951] emac_init fetch emac using configuration failed [ 1.282437] gmac driver is disabled [ 1.285662] PPP generic driver version 2.4.2 [ 1.289590] PPP BSD Compression module registered [ 1.293623] PPP Deflate Compression module registered [ 1.300786] PPP MPPE Compression module registered [ 1.304224] NET: Registered protocol family 24 [ 1.310344] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.315583] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.318047] [sw-ehci1]: open clock [ 1.340731] [sw-ehci1]: Set USB Power ON [ 1.347182] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.353425] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2 [ 1.357851] sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000 [ 1.373766] sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00 [ 1.377141] hub 2-0:1.0: USB hub found [ 1.380045] hub 2-0:1.0: 1 port detected [ 1.382708] [sw-ohci1]: open clock [ 1.408858] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.415086] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3 [ 1.419416] sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400 [ 1.486747] hub 3-0:1.0: USB hub found [ 1.489642] hub 3-0:1.0: 1 port detected [ 1.492296] [sw-ehci2]: open clock [ 1.514977] [sw-ehci2]: Set USB Power ON [ 1.521414] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.527657] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4 [ 1.532021] sw-ehci sw-ehci.2: irq 72, io mem 0x01c1c000 [ 1.553756] sw-ehci sw-ehci.2: USB 2.0 started, EHCI 1.00 [ 1.557090] hub 4-0:1.0: USB hub found [ 1.559981] hub 4-0:1.0: 1 port detected [ 1.562609] [sw-ohci2]: open clock [ 1.583773] ata1: SATA link down (SStatus 0 SControl 300) [ 1.589858] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.596199] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5 [ 1.600503] sw-ohci sw-ohci.2: irq 97, io mem 0x01c1c400 [ 1.666818] hub 5-0:1.0: USB hub found [ 1.669713] hub 5-0:1.0: 1 port detected [ 1.674006] Initializing USB Mass Storage driver... [ 1.679141] usbcore: registered new interface driver usb-storage [ 1.682715] USB Mass Storage support registered. [ 1.687676] usbcore: registered new interface driver ums-alauda [ 1.692676] usbcore: registered new interface driver ums-cypress [ 1.697724] usbcore: registered new interface driver ums-datafab [ 1.702899] usbcore: registered new interface driver ums_eneub6250 [ 1.707920] usbcore: registered new interface driver ums-freecom [ 1.712832] usbcore: registered new interface driver ums-isd200 [ 1.717935] usbcore: registered new interface driver ums-jumpshot [ 1.722760] usbcore: registered new interface driver ums-karma [ 1.727872] usbcore: registered new interface driver ums-onetouch [ 1.732887] usbcore: registered new interface driver ums-realtek [ 1.737816] usbcore: registered new interface driver ums-sddr09 [ 1.742745] usbcore: registered new interface driver ums-sddr55 [ 1.747588] usbcore: registered new interface driver ums-usbat [ 1.752368] mousedev: PS/2 mouse device common for all mice [ 1.758047] ===========================hv_keypad_init===================== [ 1.761446] ========HV Inital =================== [ 1.765388] tkey_fetch_sysconfig_para: tkey_unused. [ 1.772601] hv_keypad_init: after fetch_sysconfig_para: normal_i2c: 0x0. normal_i2c[1]: 0x0 [ 1.777747] sunxi-rtc sunxi-rtc: Warning: RTC time is wrong! [ 1.783054] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0 [ 1.785592] i2c /dev entries driver [ 1.789173] config i2c gpio with gpio_config api [ 1.794846] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected [ 1.800654] axp_mfd 0-0034: AXP internal temperature monitoring enabled [ 1.805287] i2c i2c-0: Invalid probe address 0x00 [ 1.808343] I2C: i2c-0: AW16XX I2C adapter [ 1.812389] [cedar dev]: not installed! ve_mem_reserve=0 [ 1.815829] [tt]----- avs_dev driver load... ---- [ 1.819404] [tt]----- register iomem ---- [ 1.823131] [tt]--- avs_dev driver load ok!! ----- [ 1.824882] [ace_drv] start!!! [ 1.827242] [ace_drv] init end!!! [ 1.828908] [pa_drv] start!!! [ 1.831147] [pa_drv] init end!!! [ 1.833544] axp20_ldo1: 1300 mV [ 1.838753] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV [ 1.843866] axp20_ldo3: 700 <--> 3500 mV at 2800 mV [ 1.849002] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV [ 1.854392] axp20_buck2: 700 <--> 2275 mV at 1450 mV [ 1.860892] somebody is trying to set dcdc3 range to (1300000, 1300000) uV [ 1.865938] but we keep dcdc3 = 1250000 uV from the bootloader [ 1.870188] axp20_buck3: 700 <--> 3500 mV at 1250 mV [ 1.875050] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV [ 1.884593] input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0 [ 1.902779] axp20_ldo2: Failed to create debugfs directory [ 1.906009] incomplete xfer (0x20) [ 1.908269] incomplete xfer (0x20) [ 1.910520] incomplete xfer (0x20) [ 1.912799] incomplete xfer (0x20) [ 1.915049] incomplete xfer (0x20) [ 1.917298] incomplete xfer (0x20) [ 1.919547] incomplete xfer (0x20) [ 1.921812] incomplete xfer (0x20) [ 1.924061] incomplete xfer (0x20) [ 1.928078] device-mapper: uevent: version 1.0.3 [ 1.935927] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 1.940890] device-mapper: multipath: version 1.3.2 loaded [ 1.946414] device-mapper: multipath round-robin: version 1.0.0 loaded [ 1.951983] device-mapper: multipath queue-length: version 0.1.0 loaded [ 1.957563] device-mapper: multipath service-time: version 0.2.0 loaded [ 1.960976] cpuidle: using governor ladder [ 1.963888] cpuidle: using governor menu [ 1.966206] [mmc-msg] sw_mci_init [ 1.971928] [mmc-msg] MMC host used card: 0x1, boot card: 0x0, io_card 0 [ 1.977174] [mmc-msg] sdc0 set round clock 400000, src 24000000 [ 1.985444] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 1.993664] [mmc-msg] sdc0 Probe: base:0xf05ea000 irq:64 sg_cpu:f05ec000(4fc00000) ret 0. [ 1.998253] [mmc_pm]: failed to fetch sdio card configuration! [ 2.000675] sunxi_leds driver init [ 2.004770] Registered led device: green:ph20:led1 [ 2.008510] Registered led device: blue:ph21:led2 [ 2.013515] ledtrig-cpu: registered to indicate activity on CPUs [ 2.018723] usbcore: registered new interface driver usbhid [ 2.021515] usbhid: USB HID core driver [ 2.024277] ashmem: initialized [ 2.027904] logger: created 256K log 'log_main' [ 2.031685] logger: created 256K log 'log_events' [ 2.035484] logger: created 256K log 'log_radio' [ 2.039284] logger: created 256K log 'log_system' [ 2.046061] [SPDIF] [spdif_para] isn't defined or spdif_used=0 [ 2.048861] [I2S-0] Entered sunxi_i2s_init [ 2.056594] [I2S-0] sunxi-i2s cannot find any using configuration for controllers, return directly! [ 2.064396] [I2S-0] sndi2s cannot find any using configuration for controllers, return directly! [ 2.067479] [I2S-0] Entered sunxi_sndi2s_init [ 2.070916] IPv4 over IPv4 tunneling driver [ 2.073741] TCP: bic registered [ 2.076017] TCP: cubic registered [ 2.078546] TCP: westwood registered [ 2.081162] TCP: highspeed registered [ 2.083488] TCP: hybla registered [ 2.085672] TCP: htcp registered [ 2.087942] TCP: vegas registered [ 2.090125] TCP: veno registered [ 2.092670] TCP: scalable registered [ 2.094680] TCP: lp registered [ 2.096863] TCP: yeah registered [ 2.099392] TCP: illinois registered [ 2.102626] Initializing XFRM netlink socket [ 2.106709] NET: Registered protocol family 10 [ 2.111318] NET: Registered protocol family 17 [ 2.114815] NET: Registered protocol family 15 [ 2.119471] [mmc_pm]: No sdio card, please check your config !! [ 2.123160] Registering the dns_resolver key type [ 2.125427] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 2.134005] Registering SWP/SWPB emulation handler [ 2.138623] axp20_buck2: Failed to create debugfs directory [ 2.144801] [cpu_freq] INF:-------------------V-F Table------------------- [ 2.149876] [cpu_freq] INF: voltage = 1450mv frequency = 1008MHz [ 2.154936] [cpu_freq] INF: voltage = 1425mv frequency = 912MHz [ 2.159981] [cpu_freq] INF: voltage = 1350mv frequency = 864MHz [ 2.165037] [cpu_freq] INF: voltage = 1250mv frequency = 720MHz [ 2.170082] [cpu_freq] INF: voltage = 1150mv frequency = 528MHz [ 2.175138] [cpu_freq] INF: voltage = 1100mv frequency = 312MHz [ 2.180183] [cpu_freq] INF: voltage = 1050mv frequency = 144MHz [ 2.185237] [cpu_freq] INF: voltage = 1000mv frequency = 0MHz [ 2.191061] [cpu_freq] INF:----------------------------------------------- [ 2.200806] [cpu_freq] INF:sunxi_cpufreq_initcall, get cpu frequency from sysconfig, max freq: 912MHz, min freq: 720MHz [ 2.204799] registered taskstats version 1 [ 2.209479] I2C: i2c-1: HDMI I2C adapter [ 2.240640] ParseEDID [ 2.257598] EDID version: 1.3 [ 2.263865] PCLK=135000000 X 1280 1328 1440 1688 Y 1024 1025 1028 1066 fr 75 PP [ 2.267732] Using above mode as preferred EDID mode [ 2.273216] PCLK=25170000 X 640 656 752 800 Y 350 387 389 449 fr 70 PN [ 2.279212] disp_clk: Could not find a matching pll-freq for 131150000 pclk [ 2.285128] disp_clk: Could not find a matching pll-freq for 141250000 pclk [ 2.290976] disp_clk: Could not find a matching pll-freq for 78800000 pclk [ 2.296819] disp_clk: Could not find a matching pll-freq for 53450000 pclk [ 2.302651] disp_clk: Could not find a matching pll-freq for 27100000 pclk [ 2.308495] disp_clk: Could not find a matching pll-freq for 26150000 pclk [ 2.314323] disp_clk: Could not find a matching pll-freq for 25150000 pclk [ 2.321025] disp clks: lcd 148500000 pre_scale 1 hdmi 148500000 pll 297000000 2x 0 [ 2.978314] [mmc-msg] mmc 0 detect change, present 1 [ 3.477328] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.479778] [mmc-msg] sdc0 power on [ 3.507739] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.512639] [mmc-msg] sdc0 set round clock 400000, src 24000000 [ 3.585073] [mmc-err] smc 0 err, cmd 52, RTO [ 3.589220] [mmc-err] smc 0 err, cmd 52, RTO [ 3.597581] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.600543] Console: switching to colour frame buffer device 240x67 [ 3.612221] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.617601] [mmc-err] smc 0 err, cmd 5, RTO [ 3.621645] [mmc-err] smc 0 err, cmd 5, RTO [ 3.625706] [mmc-err] smc 0 err, cmd 5, RTO [ 3.629749] [mmc-err] smc 0 err, cmd 5, RTO [ 3.638755] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.647100] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.657843] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.663416] axp20_buck3: incomplete constraints, leaving on [ 3.668224] axp20_buck2: incomplete constraints, leaving on [ 3.672915] axp20_ldo4: incomplete constraints, leaving on [ 3.677623] axp20_ldo3: incomplete constraints, leaving on [ 3.682301] axp20_ldo2: incomplete constraints, leaving on [ 3.686994] axp20_ldo1: incomplete constraints, leaving on [ 3.689941] console [netcon0] enabled [ 3.693473] netconsole: network logging started [ 3.697654] otg_wakelock_init: No USB transceiver found [ 3.699684] ALSA device list: [ 3.702754] #0: sunxi-CODEC Audio Codec [ 3.705966] Freeing init memory: 224K [ 3.763941] systemd-udevd[91]: starting version 215 [ 3.774358] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B [ 3.788107] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B [ 3.793305] [mmc-msg] sdc0 set round clock 42857143, src 600000000 [ 3.857364] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B [ 3.862801] mmc0: new high speed SDHC card at address 4107 [ 3.868412] mmcblk0: mmc0:4107 SD08G 7.42 GiB [ 3.876261] mmcblk0: p1 [ 4.725673] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 5.293667] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [ 5.298240] systemd[1]: Detected architecture 'arm'. [ 5.345548] systemd[1]: Set hostname to <cubieboard2>. [ 5.802618] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 5.813262] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 5.820511] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 5.825402] systemd[1]: Expecting device dev-ttyS0.device... [ 5.854222] systemd[1]: Starting Remote File Systems (Pre). [ 5.874696] systemd[1]: Reached target Remote File Systems (Pre). [ 5.878784] systemd[1]: Starting Encrypted Volumes. [ 5.903989] systemd[1]: Reached target Encrypted Volumes. [ 5.911937] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ 5.947995] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 5.955214] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. [ 5.962618] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 5.965635] systemd[1]: Starting Paths. [ 5.982945] systemd[1]: Reached target Paths. [ 5.986382] systemd[1]: Starting Root Slice. [ 6.003304] systemd[1]: Created slice Root Slice. [ 6.007847] systemd[1]: Starting Delayed Shutdown Socket. [ 6.034350] systemd[1]: Listening on Delayed Shutdown Socket. [ 6.040106] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 6.065569] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 6.070289] systemd[1]: Starting Journal Socket (/dev/log). [ 6.094528] systemd[1]: Listening on Journal Socket (/dev/log). [ 6.099003] systemd[1]: Starting User and Session Slice. [ 6.124342] systemd[1]: Created slice User and Session Slice. [ 6.128594] systemd[1]: Starting udev Control Socket. [ 6.154032] systemd[1]: Listening on udev Control Socket. [ 6.158177] systemd[1]: Starting udev Kernel Socket. [ 6.183909] systemd[1]: Listening on udev Kernel Socket. [ 6.187708] systemd[1]: Starting Journal Socket. [ 6.213590] systemd[1]: Listening on Journal Socket. [ 6.217301] systemd[1]: Starting System Slice. [ 6.233503] systemd[1]: Created slice System Slice. [ 6.238986] systemd[1]: Starting Increase datagram queue length... [ 6.280951] systemd[1]: Starting Restore / save the current clock... [ 6.324781] systemd[1]: Mounted Huge Pages File System. [ 6.330406] systemd[1]: Mounting POSIX Message Queue File System... [ 6.368754] systemd[1]: Started Set Up Additional Binary Formats. [ 6.373788] systemd[1]: Starting udev Coldplug all Devices... [ 6.405932] systemd[1]: Mounting Debug File System... [ 6.479004] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 6.514348] systemd[1]: Starting LSB: Set keymap... [ 6.755078] systemd[1]: Starting system-serial\x2dgetty.slice. [ 6.784924] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 6.789099] systemd[1]: Starting system-getty.slice. [ 6.814011] systemd[1]: Created slice system-getty.slice. [ 6.822218] systemd[1]: Starting Load Kernel Modules... [ 6.860775] systemd[1]: Started File System Check on Root Device. [ 6.866289] systemd[1]: Starting Slices. [ 6.883197] systemd[1]: Reached target Slices. [ 6.903572] systemd[1]: Mounted Debug File System. [ 6.912316] Bluetooth: Core ver 2.16 [ 6.915813] NET: Registered protocol family 31 [ 6.921120] Bluetooth: HCI device and connection manager initialized [ 6.924989] Bluetooth: HCI socket layer initialized [ 6.928998] Bluetooth: L2CAP socket layer initialized [ 6.932855] Bluetooth: SCO socket layer initialized [ 6.942766] Bluetooth: HCI UART driver ver 2.2 [ 6.946556] Bluetooth: HCI H4 protocol initialized [ 6.950476] Bluetooth: HCI BCSP protocol initialized [ 6.954150] Bluetooth: HCILL protocol initialized [ 6.958070] Bluetooth: HCIATH3K protocol initialized [ 6.964703] systemd[1]: Mounted POSIX Message Queue File System. [ 6.977733] Bluetooth: RFCOMM TTY layer initialized [ 6.981854] Bluetooth: RFCOMM socket layer initialized [ 6.984637] Bluetooth: RFCOMM ver 1.11 [ 6.994644] systemd[1]: Started Increase datagram queue length. [ 6.999524] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 7.009430] input: sunxi-ir as /devices/virtual/input/input1 [ 7.011089] IR Initial OK [ 7.044719] systemd[1]: Started Restore / save the current clock. [ 7.337704] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 7.363240] systemd[1]: Started LSB: Set keymap. [ 7.383586] systemd[1]: Started Load Kernel Modules. [ 7.414128] systemd[1]: Started udev Coldplug all Devices. [ 7.420549] systemd[1]: Time has been changed [ 7.426331] systemd[1]: Mounting Configuration File System... [ 7.464618] systemd[1]: Starting Apply Kernel Variables... [ 7.495243] systemd[1]: Mounting FUSE Control File System... [ 7.527767] systemd[1]: Starting Create Static Device Nodes in /dev... [ 7.594039] systemd[1]: Starting Syslog Socket. [ 7.613612] systemd[1]: Listening on Syslog Socket. [ 7.617707] systemd[1]: Starting Journal Service... [ 7.653383] systemd[1]: Started Journal Service. [ 7.833013] systemd-udevd[174]: starting version 215 [ 9.007880] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 9.255784] Adding 131068k swap on /var/swap. Priority:-1 extents:1 across:131068k SS [ 10.053106] systemd-journald[173]: Received request to flush runtime journal from PID 1 [ 10.244782] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 [ 13.284566] ADDRCONF(NETDEV_UP): bond0: link is not ready [ 20.612320] eth0: no IPv6 routers present
  6. Hi all, I'm trying to use a BENQ FP767 monitor with a Cubieboard2 using Legacy Server Jessie 5.25 image. The system is composed: Cubieboard -> HDMI to VGA converter -> Monitor. The bootloader works perfectly and I can see the boot phases in monitor which is synched to: 1280x1024 H.F : 79 KHz V.F : 75 KHz When Linux start the monitor frequencies change and chars are almost unreadable: 1280x1024 H.F : 67 KHz V.F : 59.7 KHz I've tried to change boot.cmd monitor settings from: ​ setenv disp_mode "1920x1080p60" to ​ setenv disp_mode "1024x1080p75" end compile changes with # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr root@cubieboard2:/boot# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr Image Name: Created: Fri Feb 17 08:59:38 2017 Image Type: ARM Linux Script (uncompressed) Data Size: 2615 Bytes = 2.55 kB = 0.00 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2607 Bytes = 2.55 kB = 0.00 MB After the "reboot now" command bootload is yet OK but monitor don't show nothing. Is possible to avoid to change monitor settings entering in Linux from bootloader ? I've mistake setenv disp_mode configuration ? Best Regards, ​Silverio Diquigiovanni
  7. You are in right, SD was wrote in bad way.
  8. I'm using Mainline 4.9.5 for cubieboard2 (Armbian_5.24_Cubieboard2_Debian_jessie_next_4.9.5.7z). I boot without LAN or WIFI dongle using TTL port to get console interface. When I try to log how root ( root / 1234 ) the log system throw me always in error: cubieboard2 login: root Login incorrect cubieboard2 login: When I confirm root username the system don't ask me to insert the default password (1234) but after a while send me a 'Login incorrect'. LOG from sudo screen /dev/ttyUSB0 115200: U-Boot SPL 2017.01-armbian (Jan 20 2017 - 22:22:43) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 Trying to boot from MMC1 U-Boot 2017.01-armbian (Jan 20 2017 - 22:22:43 +0100) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Cubietech Cubieboard2 I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial SCSI: SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: eth0: ethernet@01c50000 Hit any key to stop autoboot: 0 6944 bytes read in 155 ms (43 KiB/s) switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 2352 bytes read in 189 ms (11.7 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 114 bytes read in 167 ms (0 Bytes/s) 4057093 bytes read in 497 ms (7.8 MiB/s) 6218152 bytes read in 632 ms (9.4 MiB/s) 0 bytes read in 138 ms (0 Bytes/s) 55793 bytes read in 702 ms (77.1 KiB/s) ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4057029 Bytes = 3.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49c21000, end 49fff7c5 ... OK Loading Device Tree to 49c10000, end 49c209f0 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Loading, please wait... Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.25.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 56960/934720 files, 316459/3760936 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Debian GNU/Linux 8 (jessie)! Expecting device dev-ttyS0.device... [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Paths. [ OK ] Reached target Encrypted Volumes. [ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point. [ OK ] Reached target Swap. [ OK ] Created slice Root Slice. [ OK ] Listening on Delayed Shutdown Socket. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Created slice User and Session Slice. [ OK ] Listening on udev Control Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Journal Socket. [ OK ] Created slice System Slice. Starting Increase datagram queue length... Starting Restore / save the current clock... Starting udev Coldplug all Devices... Mounting POSIX Message Queue File System... Mounting Debug File System... Starting Create list of required static device nodes...rrent kernel... [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-getty.slice. Starting Load Kernel Modules... Starting LSB: Set keymap... [ OK ] Reached target Slices. [ OK ] Mounted Debug File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Started Increase datagram queue length. [ OK ] Started Restore / save the current clock. [ OK ] Started Create list of required static device nodes ...current kernel. [ OK ] Started Load Kernel Modules. [ OK ] Started LSB: Set keymap. [ OK ] Started udev Coldplug all Devices. Mounting FUSE Control File System... Mounting Configuration File System... Starting Apply Kernel Variables... Starting Create Static Device Nodes in /dev... [ OK ] Listening on Syslog Socket. Starting Journal Service... [ OK ] Started Journal Service. [ OK ] Mounted Configuration File System. [ OK ] Mounted FUSE Control File System. [FAILED] Failed to start Apply Kernel Variables. See 'systemctl status systemd-sysctl.service' for details. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting Copy rules generated while the root was ro... Starting LSB: Set preliminary keymap... Starting LSB: Tune IDE hard disks... [ OK ] Started Copy rules generated while the root was ro. [ OK ] Started LSB: Tune IDE hard disks. [ OK ] Found device /dev/ttyS0. [ OK ] Created slice system-ifup.slice. [ OK ] Started LSB: Set preliminary keymap. Starting Remount Root and Kernel File Systems... [ OK ] Started Remount Root and Kernel File Systems. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... [ OK ] Started Load/Save Random Seed. [ OK ] Mounted /tmp. [ OK ] Reached target Sound Card. [ OK ] Reached target Local File Systems. Starting Armbian enhanced Log2Ram... Starting Create Volatile Files and Directories... [ OK ] Reached target Remote File Systems. Starting Trigger Flushing of Journal to Persistent Storage... Starting LSB: Prepare console... Starting LSB: Raise network interfaces.... [ OK ] Started Armbian enhanced Log2Ram. [ OK ] Started Create Volatile Files and Directories. [ OK ] Started Trigger Flushing of Journal to Persistent Storage. [ OK ] Started LSB: Prepare console. Starting LSB: Set console font and keymap... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started LSB: Raise network interfaces.. Starting ifup for eth0... [ OK ] Started ifup for eth0. [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Started LSB: Set console font and keymap. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Timers. Starting Restore Sound Card State... [ OK ] Reached target Basic System. Starting Entropy daemon using the HAVEGE algorithm... [ OK ] Started Entropy daemon using the HAVEGE algorithm. Starting OpenBSD Secure Shell server... [ OK ] Started OpenBSD Secure Shell server. Starting Regular background program processing daemon... [ OK ] Started Regular background program processing daemon. Starting System Logging Service... Starting Network Manager... Starting /etc/rc.local Compatibility... Starting D-Bus System Message Bus... [ OK ] Started D-Bus System Message Bus. Starting Login Service... Starting Permit User Sessions... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting LSB: Armbian gathering hardware information... Starting LSB: Advanced IEEE 802.11 management daemon... Starting LSB: Starts LIRC daemon.... Starting LSB: Start NTP daemon... Starting LSB: disk temperature monitoring daemon... Starting LSB: Start/stop sysstat's sadc... [ OK ] Started Restore Sound Card State. [FAILED] Failed to start System Logging Service. See 'systemctl status rsyslog.service' for details. [FAILED] Failed to start /etc/rc.local Compatibility. See 'systemctl status rc-local.service' for details. [ OK ] Started Permit User Sessions. [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started LSB: Start NTP daemon. [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Started LSB: Start/stop sysstat's sadc. [ OK ] Started LSB: Starts LIRC daemon.. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Started Login Service. Starting Authenticate and Authorize Users to Run Privileged Tasks... Starting LSB: set CPUFreq kernel parameters... Stopping System Logging Service... [ OK ] Stopped System Logging Service. Starting System Logging Service... Starting Serial Getty on ttyS0... [ OK ] Started Serial Getty on ttyS0. Starting Getty on tty1... [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Started LSB: set CPUFreq kernel parameters. [FAILED] Failed to start System Logging Service. See 'systemctl status rsyslog.service' for details. [ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. Stopping System Logging Service... [ OK ] Stopped System Logging Service. Starting System Logging Service... Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started Network Manager. [FAILED] Failed to start System Logging Service. See 'systemctl status rsyslog.service' for details. [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. Stopping System Logging Service... [ OK ] Stopped System Logging Service. Starting System Logging Service... [FAILED] Failed to start System Logging Service. See 'systemctl status rsyslog.service' for details. [ OK ] Started LSB: Armbian gathering hardware information. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Stopping System Logging Service... [ OK ] Stopped System Logging Service. Starting System Logging Service... [FAILED] Failed to start System Logging Service. See 'systemctl status rsyslog.service' for details. Debian GNU/Linux 8 cubieboard2 ttyS0 cubieboard2 login: root Login incorrect cubieboard2 login:
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines