Jump to content


Photo

Ubuntu Linux for the UG802


  • Please log in to reply
157 replies to this topic

#1 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 05 November 2012 - 01:40 PM

Hi everybody,
This thread is about getting Linux running on the UG802, and later, various other Rockchip RK3066 devices (TV sticks and tablets).
A Spanish company named BQ recently released a copy of the RK3066 Android kernel source for their Edison tablet.
I started working on it a couple of weeks ago and I am happy to report that I have a very preliminary version of the Linux kernel booting on my UG802 (since 5am this morning).
This is a very early version and I don't have HDMI output (there is a small bug in the hdmi kernel driver and I am investigating it I found the problem, actually what happens is the HDMI is right now configured as the secondary display - this kernel was originally for a tablet and the primary display is an LCD screen), and also the WiFi is not working (that's easier to solve: I just have to compile the Realtek driver separately from the kernel). I have managed to get adb working and the kernel boots without locking up.
So there we go, in a week or so I should hopefully have Ubuntu Linux 12.10 (Quantal) running on the UG802.
The nice thing about it is the speed: this little thing is fast!

Here is an extract from dmesg output:

<6>[    0.000000] Initializing cgroup subsys cpu
<5>[    0.000000] Linux version 3.0.8-bqa2+ (andrew@andrew-workstation) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 SMP PREEMPT Tue Nov 6 01:39:56 CET 2012
<4>[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7d
<4>[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
<4>[    0.000000] Machine: RK30board
<6>[    0.000000] memory reserve: Memory(base:0x91800000 size:80M) reserved for <ion>
<6>[    0.000000] memory reserve: Memory(base:0x91000000 size:8M) reserved for <fb0>
<6>[    0.000000] memory reserve: Memory(base:0x90800000 size:8M) reserved for <ipp buf>
<6>[    0.000000] memory reserve: Memory(base:0x90000000 size:8M) reserved for <fb2>
<6>[    0.000000] memory reserve: Total reserved 104M
<4>[    0.000000] Memory policy: ECC disabled, Data cache writeback
<6>[    0.000000] bootconsole [earlycon0] enabled
<4>[    0.000000] CPU SRAM: copied sram code from c0a5b000 to fef00100 - fef014a0
<4>[    0.000000] CPU SRAM: copied sram data from c0a5c3a0 to fef03000 - fef03284
<6>[    0.000000] L310 cache controller enabled
<6>[    0.000000] l2x0: 16 ways, CACHE_ID 0x4100c0c8, AUX_CTRL 0x76050001, Cache size: 524288 B
<4>[    0.000000] DDR DEBUG: version 1.00 20120529 
<4>[    0.000000] DDR DEBUG: DDR3 Device
<4>[    0.000000] DDR DEBUG: 1 CS, ROW=15, Bank=8, COL=10, Total Capability=1024MB
<4>[    0.000000] DDR DEBUG: init success!!! freq=300MHz
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x5, DGSL=1 extra clock, DGPS=0
<4>[    0.000000] DDR DEBUG: ZERR=0, ZDONE=0, ZPD=0x0, ZPU=0x0, OPD=0x0, OPU=0x0
<4>[    0.000000] DDR DEBUG: DRV Pull-Up=0xb, DRV Pull-Dwn=0xb
<4>[    0.000000] DDR DEBUG: ODT Pull-Up=0x2, ODT Pull-Dwn=0x2
<4>[    0.000000] rk30_iomux_init
<4>[    0.000000] Boot mode: 2 flag: 0xc3524203
<7>[    0.000000] On node 0 totalpages: 235520
<7>[    0.000000] free_area_init_node: node 0, pgdat c0a59d20, node_mem_map c14e2000
<7>[    0.000000]   Normal zone: 1744 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 194864 pages, LIFO batch:31
<7>[    0.000000]   HighMem zone: 304 pages used for memmap
<7>[    0.000000]   HighMem zone: 38608 pages, LIFO batch:7
<6>[    0.000000] PERCPU: Embedded 7 pages/cpu @c1cea000 s6816 r8192 d13664 u32768
<7>[    0.000000] pcpu-alloc: s6816 r8192 d13664 u32768 alloc=8*4096
<7>[    0.000000] pcpu-alloc: [0] 0 [0] 1 
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 233472
<5>[    0.000000] Kernel command line: console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x002D0000 mtdparts=rk29xxnand:0x00002000@0x00000000(parameter),0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00008000@0x00010000(recovery),0x000C0000@0x00018000(backup),0x00040000@0x000D8000(cache),0x00200000@0x00118000(userdata),0x00002000@0x00318000(kpanic),0x000A0000@0x0031A000(system),-@0x003bA000(user) bootver=2012-08-29#1.16 firmware_ver=4.0.4
<6>[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
<6>[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>[    0.000000] Memory: 768MB 152MB = 920MB total
<5>[    0.000000] Memory: 912832k/912832k available, 135744k reserved, 155648K highmem
<5>[    0.000000] Virtual kernel memory layout:
<5>[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
<5>[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
<5>[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
<5>[    0.000000]     vmalloc : 0xf7000000 - 0xfe800000   ( 120 MB)
<5>[    0.000000]     lowmem  : 0xc0000000 - 0xf6800000   ( 872 MB)
<5>[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
<5>[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
<5>[    0.000000]       .init : 0xc0408000 - 0xc042d000   ( 148 kB)
<5>[    0.000000]       .text : 0xc042d000 - 0xc09f16f4   (5906 kB)
<5>[    0.000000]       .data : 0xc09f2000 - 0xc0a5a800   ( 418 kB)
<5>[    0.000000]        .bss : 0xc0a5d024 - 0xc14e1218   (10769 kB)
<6>[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
<6>[    0.000000] Preemptible hierarchical RCU implementation.
<6>[    0.000000] NR_IRQS:416
<4>[    0.000000] rk30_gpio_init: 176 gpio irqs in 6 banks
<6>[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<6>[    0.000000] Console: colour dummy device 80x30
<6>[    0.004907] Calibrating delay loop (skipped) preset value.. 1631.46 BogoMIPS (lpj=8157341)
<6>[    0.013810] pid_max: default: 32768 minimum: 301
<6>[    0.019073] Mount-cache hash table entries: 512
<6>[    0.024605] Initializing cgroup subsys debug
<6>[    0.029254] Initializing cgroup subsys cpuacct
<6>[    0.034148] Initializing cgroup subsys freezer
<6>[    0.039007] CPU: Testing write buffer coherency: ok
<4>[    0.144985] CPU1: Booted secondary processor
<6>[    0.145029] Brought up 2 CPUs
<6>[    0.152921] SMP: Total of 2 processors activated (3262.93 BogoMIPS).
<6>[    0.160068] devtmpfs: initialized
<6>[    0.171314] NET: Registered protocol family 16
<4>[    0.176206] last_log: 0xef900000 0xc0a5e5e8
<6>[    0.283326] rk29sdk_wifi_bt_gpio_control_init: init finished
<6>[    0.293839] console [ttyFIQ0] enabled, bootconsole disabled
<6>[    0.305504] Registered FIQ tty driver ef88fc00
<6>[    0.324565] bio: create slab <bio-0> at 0
<4>[    0.328917] wm831x_dcdc_init 
<4>[    0.332063] wm831x_ldo_init 
<5>[    0.335379] SCSI subsystem initialized
<6>[    0.339293] usbcore: registered new interface driver usbfs
<6>[    0.344850] usbcore: registered new interface driver hub
<6>[    0.350243] usbcore: registered new device driver usb
<6>[    0.355567] rk30_i2c rk30_i2c.0: i2c-0: RK30 I2C adapter
<6>[    0.361093] rk30_i2c rk30_i2c.1: i2c-1: RK30 I2C adapter
<6>[    0.366514] rk30_i2c rk30_i2c.2: i2c-2: RK30 I2C adapter
<6>[    0.371917] rk30_i2c rk30_i2c.3: i2c-3: RK30 I2C adapter
<6>[    0.377333] rk30_i2c rk30_i2c.4: i2c-4: RK30 I2C adapter
<6>[    0.382751] rk30-adc rk30-adc: rk30 adc: driver initialized
<4>[    0.388600] timed_gpio_probe
<6>[    0.391564] Advanced Linux Sound Architecture Driver Version 1.0.24.
<6>[    0.398323] Bluetooth: Core ver 2.16
<6>[    0.401932] NET: Registered protocol family 31
<6>[    0.406388] Bluetooth: HCI device and connection manager initialized
<6>[    0.412738] Bluetooth: HCI socket layer initialized
<6>[    0.417620] Bluetooth: L2CAP socket layer initialized
<6>[    0.422679] Bluetooth: SCO socket layer initialized
<6>[    0.427829] cfg80211: Calling CRDA to update world regulatory domain
<4>[    0.435020] rk fb probe ok!
<4>[    0.437852] wm831x_i2c_init
<3>[    0.441331] i2c i2c-1: No ack, Maybe slave(addr: 0x34) not exist or abnormal power-on, retry 2...
<3>[    0.450844] i2c i2c-1: No ack, Maybe slave(addr: 0x34) not exist or abnormal power-on, retry 1...
<3>[    0.460348] i2c i2c-1: No ack, Maybe slave(addr: 0x34) not exist or abnormal power-on, retry 0...
<3>[    0.469223] wm831x 1-0034: Failed to read parent ID: -11
<4>[    0.474547] wm831x: probe of 1-0034 failed with error -11
<4>[    0.479996] rk29_tps65910_config: tps65910 init config.
<6>[    0.488133] TPS65910 Set default voltage.
<4>[    0.492299] rk29_tps65910_config reg 0x3f is  0x0010
<4>[    0.497425] rk29_tps65910_config reg 0x40 is  0x003c
<4>[    0.502543] rk29_tps65910_config reg 0x41 is  0x0000
<4>[    0.507667] rk29_tps65910_config reg 0x42 is  0x0000
<4>[    0.512785] rk29_tps65910_config reg 0x43 is  0x0000
<4>[    0.517916] rk29_tps65910_config reg 0x44 is  0x0000
<4>[    0.524155] rk29_tps65910_config reg 0x3f is  0x0012
<4>[    0.529281] rk29_tps65910_config reg 0x40 is  0x003c
<4>[    0.534400] rk29_tps65910_config reg 0x41 is  0x0000
<4>[    0.539527] rk29_tps65910_config reg 0x42 is  0x00ff
<4>[    0.544651] rk29_tps65910_config reg 0x43 is  0x009b
<4>[    0.549768] rk29_tps65910_config reg 0x44 is  0x0000
<6>[    0.555660] Switching to clocksource timer1
<4>[    0.560048] lcdc0:reg_phy_base = 0x1010c000,reg_vir_base:0xf701c000
<6>[    0.565022] Switched to NOHz mode on CPU #1
<6>[    0.570494] Switched to NOHz mode on CPU #0
<4>[    0.624900] lcdc0: dclk:66500000>>fps:57 rk30_load_screen for lcdc0 ok!
<4>[    0.646433] fb0:phy:91000000>>vir:f8000000>>len:0x800000
<4>[    0.651928] rk_fb_register>>>>>fb0
<4>[    0.655456] rk_fb_register>>>>>fb1
<4>[    0.658856] lcdc0 wakeup from stanby
<6>[    0.662444] lcdc0 win1 open
<4>[    0.672448] rk30 lcdc0 probe ok!
<4>[    0.675702] lcdc1:reg_phy_base = 0x1010e000,reg_vir_base:0xf7028000
<4>[    0.682036] lcdc1: dclk:74250000>>fps:60 rk30_load_screen for lcdc1 ok!
<4>[    0.705326] fb2:phy:90000000>>vir:f9000000>>len:0x800000
<4>[    0.710797] rk_fb_register>>>>>fb2
<4>[    0.714341] rk_fb_register>>>>>fb3
<4>[    0.717740] rk30 lcdc1 probe ok!
<4>[    0.727245] start_charge_logo_display-----------
<4>[    0.731884] recovery mode 
<6>[    0.734796] NET: Registered protocol family 2
<6>[    0.739267] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[    0.746776] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
<6>[    0.756649] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
<6>[    0.764564] TCP: Hash tables configured (established 131072 bind 65536)
<6>[    0.771182] TCP reno registered
<6>[    0.774325] UDP hash table entries: 512 (order: 2, 16384 bytes)
<6>[    0.780277] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
<6>[    0.786955] NET: Registered protocol family 1
<4>[    0.791522] RK29 Backlight Driver Initialized.
<6>[    0.796178] Unpacking initramfs...
<0>[    0.819043] Initramfs unpacking failed: junk in compressed archive
<6>[    0.825693] Freeing initrd memory: 2880K
<6>[    0.829787] rk30-tsadc rk30-tsadc: initialized
<4>[    0.837601] charge_lowerpower_probe
<4>[    0.841119] charge_lowerpower: probe of charge_lowerpower failed with error -1063152788
<6>[    0.849271] Loaded driver for PL330 DMAC-1 rk29-pl330
<6>[    0.854338]       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
<6>[    0.860595] Loaded driver for PL330 DMAC-2 rk29-pl330
<6>[    0.865646]       DBUFF-64x8bytes Num_Chans-7 Num_Peri-20 Num_Events-14
<4>[    0.879742] highmem bounce pool size: 64 pages
<6>[    0.884406] ashmem: initialized
<6>[    0.892634] fuse init (API version 7.16)
<6>[    0.897541] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
<6>[    0.905141] io scheduler noop registered
<6>[    0.909063] io scheduler deadline registered
<6>[    0.913542] io scheduler cfq registered (default)
<6>[    0.924095] rga: Driver loaded succesfully
<6>[    0.928643] rk30-hdmi rk30-hdmi: hdmi irq wake up
<6>[    0.933484] rk30-hdmi rk30-hdmi: [rk30_hdmi_detect_hotplug] value c0
<6>[    0.939828] rk30-hdmi rk30-hdmi: [hdmi_work] hotplug 02 curvalue 0
<6>[    0.946016] rk30-hdmi rk30-hdmi: rk30 hdmi probe sucess.
<6>[    0.951573] rk_serial.0: ttyS0 at MMIO 0x10124000 (irq = 66) is a rk29_serial.0
<6>[    0.958972] rk30-hdmi rk30-hdmi: READ_PARSE_EDID
<6>[    0.963601] rk30-hdmi rk30-hdmi: [rk30_hdmi_read_edid] block 0
<6>[    0.979872] rk30-hdmi rk30-hdmi: [rk30_hdmi_read_edid] edid read value 98
<3>[    0.986649] rk30-hdmi rk30-hdmi: [rk30_hdmi_read_edid] edid read error
<6>[    0.993188] rk_serial rk_serial.0: membase 0xf704c000
<6>[    0.998257] rk_serial.3: ttyS3 at MMIO 0x20068000 (irq = 69) is a rk29_serial.3
<6>[    1.019881] rk30-hdmi rk30-hdmi: [rk30_hdmi_read_edid] edid read value 98
<3>[    1.026657] rk30-hdmi rk30-hdmi: [rk30_hdmi_read_edid] edid read error
<3>[    1.033313] rk30-hdmi rk30-hdmi: [HDMI] read edid base block error
<3>[    1.039588] rk30-hdmi rk30-hdmi: warning: EDID error, assume sink as HDMI !!!!
<6>[    1.046717] rk30-hdmi rk30-hdmi: warning: no CEA video mode parsed from EDID !!!!
<6>[    1.054242] rk30-hdmi rk30-hdmi: ******** Show Sink Info ********
<6>[    1.060634] rk30-hdmi rk30-hdmi: Support video mode: 
<6>[    1.065692] rk30-hdmi rk30-hdmi:  1920x1080p@60Hz.
<6>[    1.070587] rk30-hdmi rk30-hdmi:  1920x1080p@50Hz.
<6>[    1.075384] rk30-hdmi rk30-hdmi:  1280x720p@60Hz.
<6>[    1.080189] rk30-hdmi rk30-hdmi:  1280x720p@50Hz.
<6>[    1.084898] rk30-hdmi rk30-hdmi:  720x576p@50Hz.
<6>[    1.089620] rk30-hdmi rk30-hdmi:  720x480p@60Hz.
<6>[    1.094360] rk_serial rk_serial.3: membase 0xf7050000
<6>[    1.100316] Rockchip ion module(version: 1.0) is successfully loaded
<6>[    1.110186] rk30-hdmi rk30-hdmi: ******** Show Sink Info ********
<6>[    1.116545] rk30-hdmi rk30-hdmi: SYSTEM_CONFIG
<6>[    1.121716] loop: module loaded
<6>[    1.124923] Android kernel panic handler initialized (bind=kpanic)
<4>[    1.131116] lcdc1 wakeup from stanby
<6>[    1.134684] lcdc1 win1 open
<4>[    1.137474] lcdc1: dclk:74250000>>fps:60 
<6>[    1.141781] PPP generic driver version 2.4.2
<6>[    1.146359] PPP Deflate Compression module registered
<4>[    1.151426] rk30_load_screen for lcdc1 ok!
<6>[    1.155523] rk30-hdmi rk30-hdmi: CONFIG_VIDEO
<6>[    1.159902] PPP BSD Compression module registered
<6>[    1.164613] rk30-hdmi rk30-hdmi: [rk30_hdmi_config_video]
<6>[    1.170165] rk30-hdmi rk30-hdmi: [rk30_hdmi_config_video] sucess output HDMI.
<6>[    1.177891] PPP MPPE Compression module registered
<6>[    1.182708] NET: Registered protocol family 24
<4>[    1.187145] Rockchip WiFi SYS interface (V1.00) ... 
<6>[    1.192164] Initializing USB Mass Storage driver...
<6>[    1.197076] usbcore: registered new interface driver usb-storage
<6>[    1.203089] USB Mass Storage support registered.
<6>[    1.207782] usbcore: registered new interface driver usbserial
<6>[    1.213694] USB Serial support registered for generic
<6>[    1.218768] usbcore: registered new interface driver usbserial_generic
<6>[    1.225296] usbserial: USB Serial Driver core
<6>[    1.229683] USB Serial support registered for GSM modem (1-port)
<6>[    1.235735] usbcore: registered new interface driver option
<6>[    1.241436] option: v0.7.2:USB Driver for GSM modems
<6>[    1.457043] DWC_OTG: ^^^^^^^^^^^^^^^^^Device Mode
<6>[    1.461756] usb20_otg usb20_otg: DWC OTG Controller
<6>[    1.466637] usb20_otg usb20_otg: new USB bus registered, assigned bus number 1
<6>[    1.473881] usb20_otg usb20_otg: irq 48, io mem 0x00000000
<6>[    1.479356] DWC_OTG: dwc_otg_hcd_start controller in device mode,everest
<6>[    1.486091] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    1.492887] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    1.500104] usb usb1: Product: DWC OTG Controller
<6>[    1.504800] usb usb1: Manufacturer: Linux 3.0.8-bqa2+ dwc_otg_hcd
<6>[    1.510895] usb usb1: SerialNumber: usb20_otg
<6>[    1.515525] hub 1-0:1.0: USB hub found
<6>[    1.519285] hub 1-0:1.0: 1 port detected
<6>[    1.523490] DWC_OTG: host20_driver_probe host2.0 reg addr: 0x101c0000 remap:0xf7100000
<6>[    1.531420] rk30-hdmi rk30-hdmi: [rk30_hdmi_control_output] 0
<6>[    1.537159] rk30-hdmi rk30-hdmi: CONFIG_AUDIO
<6>[    1.549943] rk30-hdmi rk30-hdmi: PLAY_BACK
<6>[    1.554034] rk30-hdmi rk30-hdmi: [rk30_hdmi_control_output] 1
<6>[    1.559769] rk30-hdmi rk30-hdmi: [rk30_hdmi_set_pwr_mode] mode 4
<6>[    1.639878] rk30-hdmi rk30-hdmi: [rk30_hdmi_set_pwr_mode] curmode 40
<6>[    1.646222] rk30-hdmi rk30-hdmi: [rk30_hdmi_set_pwr_mode] mode 8
<6>[    1.679872] rk30-hdmi rk30-hdmi: [rk30_hdmi_set_pwr_mode] curmode <img src='http://www.slatedroid.com/public/style_emoticons/<#EMO_DIR#>/mega_shok.gif' class='bbc_emoticon' alt='80' />
<6>[    1.699872] rk30-hdmi rk30-hdmi: [hdmi_work] done
<6>[    1.791100] DWC_OTG: ^^^^^^^^^^^^^^^^^^Host Mode
<6>[    1.795721] usb20_host usb20_host: DWC OTG Controller
<6>[    1.800790] usb20_host usb20_host: new USB bus registered, assigned bus number 2
<6>[    1.808187] usb20_host usb20_host: irq 49, io mem 0x00000000
<6>[    1.813874] DWC_OTG: Init: Port Power? op_state=1
<6>[    1.818568] DWC_OTG: Init: Power Port (0)
<6>[    1.822601] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    1.829378] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    1.836596] usb usb2: Product: DWC OTG Controller
<6>[    1.841296] usb usb2: Manufacturer: Linux 3.0.8-bqa2+ host20_hcd
<6>[    1.847293] usb usb2: SerialNumber: usb20_host
<6>[    1.851950] hub 2-0:1.0: USB hub found
<6>[    1.855697] hub 2-0:1.0: 1 port detected
<6>[    1.860583] android_usb gadget: Mass Storage Function, version: 2009/09/11
<6>[    1.867452] android_usb gadget: Number of LUNs=2
<6>[    1.872074]  lun0: LUN: removable file: (no medium)
<6>[    1.876942]  lun1: LUN: removable file: (no medium)
<6>[    1.882093] android_usb gadget: android_usb ready
<6>[    1.886983] input: rk29-keypad as /devices/platform/rk29-keypad/input/input0
<6>[    1.898783] using rtc device, tps65910_rtc, for alarms
<6>[    1.903789] tps65910_rtc tps65910_rtc: rtc core: registered tps65910_rtc as rtc0
<6>[    1.911364] TPS65910 RTC device successfully registered
<4>[    1.917112] tps65910_rtc tps65910_rtc: Power up reset detected.
<6>[    1.923047] TPS65910 RTC set to default time
<4>[    1.930575] tps65910_rtc tps65910_rtc: RTC stop run.
<6>[    1.936379] tps65910_rtc tps65910_rtc: Enabling TPS65910-RTC.
<6>[    1.942204] TPS65910 RTC set to default time
<6>[    1.951167] lirc_dev: IR Remote Control driver registered, major 250 
<6>[    1.957598] IR NEC protocol handler initialized
<6>[    1.962138] IR RC5(x) protocol handler initialized
<6>[    1.966921] IR RC6 protocol handler initialized
<6>[    1.971453] IR JVC protocol handler initialized
<6>[    1.975975] IR Sony protocol handler initialized
<6>[    1.980601] IR RC5 (streamzap) protocol handler initialized
<6>[    1.986170] IR LIRC bridge handler initialized
<6>[    1.990617] Linux video capture interface: v2.00
<6>[    1.995622] device-mapper: uevent: version 1.0.3
<6>[    2.000483] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
<6>[    2.009072] Bluetooth: HCI UART driver ver 2.2
<6>[    2.013660] Bluetooth: HCI H4 protocol initialized
<6>[    2.018444] Bluetooth: HCI BCSP protocol initialized
<6>[    2.023448] Bluetooth: HCILL protocol initialized
<6>[    2.028145] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
<6>[    2.034313] usbcore: registered new interface driver bcm203x
<6>[    2.040166] Bluetooth: Generic Bluetooth USB driver ver 0.6
<6>[    2.045760] usbcore: registered new interface driver btusb
<6>[    2.051270] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
<6>[    2.057039] cpuidle: using governor ladder
<6>[    2.061142] cpuidle: using governor menu
<6>[    2.125329] rk29_sdmmc_change_clk_div..1741..  newDiv=83, newCLK=298Khz [sd_mmc]
<6>[    2.137814] 
<6>[    2.137816] drivers/mmc/core/core.c...1823..  ===== mmc_rescan Begin....[mmc0]
<6>[    2.146564] .Line3506..The End of SDMMC-probe Ver.3.07 The last modify date is 2012-04-23.  [sd_mmc]
<6>[    2.160805] rk29_sdmmc_change_clk_div..1741..  newDiv=42, newCLK=294Khz [sdio]
<6>[    2.168112] .Line3506..The End of SDMMC-probe Ver.3.07 The last modify date is 2012-04-23.  [sdio]
<7>[    2.177153] Registered led device: button-backlight
<6>[    2.177949] usbcore: registered new interface driver usbhid
<6>[    2.183558] usbhid: USB HID core driver
<6>[    2.187649] logger: created 256K log 'log_main'
<6>[    2.192247] logger: created 256K log 'log_events'
<6>[    2.196992] logger: created 256K log 'log_radio'
<6>[    2.202737] logger: created 256K log 'log_system'
<4>[    2.209467] rk_sn_init.rksn_debug=0..ok

Edit: 23 days later, pre-Alpha 0.1 "guaranteed to break and you get to keep the pieces" released (for developers only).

Edited by AndrewDB, 29 November 2012 - 08:44 AM.


#2 wannaknow

wannaknow

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 47 posts

Posted 06 November 2012 - 08:59 AM

Waiting in anticipation. Do you know if it will be able to run at 1080p? I know the mk802 had some issues regarding HD content.

#3 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 06 November 2012 - 11:42 AM

Waiting in anticipation. Do you know if it will be able to run at 1080p? I know the mk802 had some issues regarding HD content.


Hi,
Too early to say anything, but the datasheet for the RK3066 says it supports 1080p.

#4 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 07 November 2012 - 12:49 AM

Just a quick update: I have got the HDMI output going now. :good:

#5 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 07 November 2012 - 05:55 AM

Yet another quick update: I got Ubuntu Quantal booting in text mode (no X window support) without network, and various smaller issues. But... it's booting! 8)

#6 wannaknow

wannaknow

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 47 posts

Posted 07 November 2012 - 06:04 AM

Thanks Andrew,

I am sure many people are awaiting the first beta for testing. Will we be able to see the full 1.6GHz as the RK3066 Tablets run at that speed or is it not possible?

Keep up the good work.

#7 wannaknow

wannaknow

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 47 posts

Posted 07 November 2012 - 06:13 AM

I am a real noob when it comes to code but these values interested me:

<6>[ 2.009072] Bluetooth: HCI UART driver ver 2.2
<6>[ 2.013660] Bluetooth: HCI H4 protocol initialized
<6>[ 2.018444] Bluetooth: HCI BCSP protocol initialized
<6>[ 2.023448] Bluetooth: HCILL protocol initialized
<6>[ 2.028145] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
<6>[ 2.034313] usbcore: registered new interface driver bcm203x
<6>[ 2.040166] Bluetooth: Generic Bluetooth USB driver ver 0.6
<6>[ 2.045760] usbcore: registered new interface driver btusb
<6>[ 2.051270] Bluetooth: Generic Bluetooth SDIO driver ver 0.1

Does it have a bluetooth module onboard or did it pick up a plug n play version?

#8 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 07 November 2012 - 10:06 AM

Thanks Andrew,

I am sure many people are awaiting the first beta for testing. Will we be able to see the full 1.6GHz as the RK3066 Tablets run at that speed or is it not possible?

Keep up the good work.


Check the dmesg "Bogomips", it's actually already booting at 1.6GHz. So yes, it's possible, the kernel code supports it.

EDIT: I was wrong on that one, the lpj value is hardcoded in the kernel so that the Bogomips value is always reported as 16xx.xx Bogomips on boot. Checking the kernel code, right now the UG802 is booting at 1.5 GHz but by uncommenting some code it could run as high as 1.6 GHz which seems to be the top speed for the RK3066.

Edited by AndrewDB, 12 November 2012 - 09:28 AM.


#9 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 07 November 2012 - 10:07 AM

I am a real noob when it comes to code but these values interested me:

<6>[ 2.009072] Bluetooth: HCI UART driver ver 2.2
<6>[ 2.013660] Bluetooth: HCI H4 protocol initialized
<6>[ 2.018444] Bluetooth: HCI BCSP protocol initialized
<6>[ 2.023448] Bluetooth: HCILL protocol initialized
<6>[ 2.028145] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
<6>[ 2.034313] usbcore: registered new interface driver bcm203x
<6>[ 2.040166] Bluetooth: Generic Bluetooth USB driver ver 0.6
<6>[ 2.045760] usbcore: registered new interface driver btusb
<6>[ 2.051270] Bluetooth: Generic Bluetooth SDIO driver ver 0.1

Does it have a bluetooth module onboard or did it pick up a plug n play version?


I am compiling Bluetooth drivers in my config, this is just a kernel message message stating that the driver was registered.

#10 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 08 November 2012 - 01:41 AM

And another quick update: I am now booting the UG802 into XFCE Ubuntu Quantal in 720p mode. Still no networking though, no sound, and quite a few issues with this kernel still... :huh:

Anyways, I'll post a screen shot in a few minutes (I have to save the screenshot on the microSD card, shutdown the UG802, remove the microSD card, plug it into the adapter and then plug it into my Linux box, and finally upload it to the web from my Linux box - all this because I still have no network on the UG802).

Posted Image

Edited by AndrewDB, 08 November 2012 - 03:04 AM.


#11 Tab_Modder

Tab_Modder

    FW Developer

  • FW Developer
  • PipPipPip
  • 745 posts

Posted 08 November 2012 - 02:13 PM

And another quick update: I am now booting the UG802 into XFCE Ubuntu Quantal in 720p mode. Still no networking though, no sound, and quite a few issues with this kernel still... :huh:

Anyways, I'll post a screen shot in a few minutes (I have to save the screenshot on the microSD card, shutdown the UG802, remove the microSD card, plug it into the adapter and then plug it into my Linux box, and finally upload it to the web from my Linux box - all this because I still have no network on the UG802).

Posted Image

Great work andrewDB!

#12 Raymond Day

Raymond Day

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 185 posts

Posted 09 November 2012 - 12:24 PM

Wow this is super. I think a lot are looking to run Linux on the UG802. I just want to run it as a fast low power home server. So I don't need the video. It could just be text video. Would need the network. I have a USB to Ethernet that works on it now.

I been looking on the web about one time a week for "ug802 Ubnutu" That's how I found this. Looks like you all most got it working.

Would it be easy to make a Ubuntu server for this? I guess if you get the network working it my be all set. But I guess you mean the Wireless in it right? I could just use the USB to Ethernet. Maybe that would work with what you have now.

-Raymond Day

#13 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 09 November 2012 - 01:20 PM

Wow this is super. I think a lot are looking to run Linux on the UG802. I just want to run it as a fast low power home server. So I don't need the video. It could just be text video. Would need the network. I have a USB to Ethernet that works on it now.

I been looking on the web about one time a week for "ug802 Ubnutu" That's how I found this. Looks like you all most got it working.

Would it be easy to make a Ubuntu server for this? I guess if you get the network working it my be all set. But I guess you mean the Wireless in it right? I could just use the USB to Ethernet. Maybe that would work with what you have now.

-Raymond Day


I have the HDMI display sorted out, it is now working in full HD. However, I am still having issues with the USB port, any high speed peripheral (Bluetooth, Wifi dongle, etc) plugged in seems to have problems, and I have no idea what is happening, still have to gather more data. :huh:

#14 Raymond Day

Raymond Day

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 185 posts

Posted 09 November 2012 - 04:36 PM

The USB to Ethernet Adapter is a Cisco Linksys model: USB300M it works real good with the UG802 OS that comes with it. I hope Ubuntu will work with it too.

It will be so very good for you to be done with Ubuntu. I hope you can all so make Ubuntu server work with it. I would love that. Because it would be so good to have a 24/7 very low power fast home Ubuntu server.

I don't get why they don't sell it like that.

-Raymond Day

#15 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 10 November 2012 - 05:28 AM

The USB to Ethernet Adapter is a Cisco Linksys model: USB300M it works real good with the UG802 OS that comes with it. I hope Ubuntu will work with it too.

It will be so very good for you to be done with Ubuntu. I hope you can all so make Ubuntu server work with it. I would love that. Because it would be so good to have a 24/7 very low power fast home Ubuntu server.

I don't get why they don't sell it like that.

-Raymond Day


From the benchmarks I have run on the UG802, it seems the CPU is powerful enough to be used as a nice home server running Linux. However, the specific format of the UG802 (PC stick with only one usable USB port) is not really the best for this application. It would be much better if somebody could come up with a small server enclosure with two 2.5" hard disk bays, and a Gigabit Ethernet port plus a few USB ports.

#16 Raymond Day

Raymond Day

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 185 posts

Posted 10 November 2012 - 04:59 PM

From the benchmarks I have run on the UG802, it seems the CPU is powerful enough to be used as a nice home server running Linux. However, the specific format of the UG802 (PC stick with only one usable USB port) is not really the best for this application. It would be much better if somebody could come up with a small server enclosure with two 2.5" hard disk bays, and a Gigabit Ethernet port plus a few USB ports.


Right now for over a year I been running a home server with a Tonidoplug2 it works good but on things it is slow. That's why I am looking for somthing faster. This Tonidoplug2 is a ARM 800 MHz and only 512 of RAM. It has a SATA port and I have two 3TB WD green hard drives on it. The boot with the Sata port and a Sata cord. The other a USB one. It has USB 3.0 n the hard drive but not on the Tonidoplug.

For years it looks like there were going to come out with a 2 GHz Tonidoplug3 but never did. On Google images can look for "Marvell Plug Computer 3.0" and the red one is it. But look at how old some of them post are.

If can get the UG802 to run Ubuntu server I could just put my two 3TB hard drive on it's USB port with a USB hub.

I guess if they gave it so you could buy the UG802 with Ubuntu installed on it. A lot more would buy it.

-Raymond Day

#17 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 11 November 2012 - 07:02 AM

Just a quick update: I am finally managing to get the wifi interface going on the UG802! Well, sort of: when I load the driver module the Wifi interface appears (wlan0) and the chip is partly initialized... but it's still not usable.
Hopefully I'll manage to debug this today.

EDIT: WiFi working with a Realtek USB dongle that uses a slightly different chipset.

Edited by AndrewDB, 11 November 2012 - 09:32 AM.


#18 janzun

janzun

    Newbie

  • Jr. Member
  • Pip
  • 8 posts

Posted 11 November 2012 - 06:24 PM

Hi AndrewDB,

First of all, thank you very much for your work, its amazing. Im a linux user waiting for my UG802, it could be fantastic for me install Ubuntu or Debian instead of Android. I can help you when i received my device.

What about Mali400 hardware acceleration? have you tried some video without it?

#19 AndrewDB

AndrewDB

    Developer

  • FW Developer
  • PipPipPip
  • 427 posts
  • LocationThe Hague, Netherlands

Posted 11 November 2012 - 10:19 PM

Hi AndrewDB,

First of all, thank you very much for your work, its amazing. Im a linux user waiting for my UG802, it could be fantastic for me install Ubuntu or Debian instead of Android. I can help you when i received my device.

What about Mali400 hardware acceleration? have you tried some video without it?


Mali is a GPU (Graphics Processing Unit) which is used for 2D and 3D graphics acceleration (OpenGL ES).

Apart from having 4 Mali cores (clocked at 266MHz on the UG802), the RK3066 also has a very capable VPU (Video Processing Unit) for hardware decoding of various video formats.

For Mali acceleration under Linux, there are various projects under way, the source code is available and with some development work, it can be made to work on the RK3066. I would say between 3 and 6 months for a single developer, but that could be cut down to a couple of months if many people join in.

For Video acceleration under Linux, there is a kernel driver source available for the RK2918 and the code should be quite similar for the RK3066, but that remains to be checked. Depending again on how many people join in the development effort, and various other factors, that could also be made to work in a couple of months. And of course if Rockchip would release some source code and documentation, it could turn into a matter of weeks.

#20 Naismith

Naismith

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 46 posts

Posted 12 November 2012 - 07:00 AM

Greeeat work.

Good luck with the Wifi :good:

Edited by Naismith, 12 November 2012 - 07:38 AM.