55

@AndersBronto

Hi, sorry for late. I was super busy the past few days. We can replace for you. Please send an email to support@radxa.com.

hipboi:

@Mo1010427

Thanks you. Can you share your IPfire image

82

@zwanni I don't know about .is_open_drain but if it works well like that, then there might be no need to change it… Well done! Good job!

Airhead Bit:

I found a cost effect module at http://navspark.mybigcommerce.com/ it would be a nice add-on to the Rock

169

https://github.com/jdarling/radxa-nodejs-img The same process should work for any linux distro on the SD from the rock.

Just so you don't have to go reading, here is the procedure:

Creating the above image wasn't too difficult. I started off using the 2GB
Ubuntu 14.04 server image and burning it to my MicroSD card using:

NOTE: If the above link doesn't work then browse the ubuntu sd images
to find the latest server image.

sudo dd of=/dev/sdb if=radxa_rock_ubuntu_14.04_server_140820_sdcard.img

From there I put the MicroSD card into my Radxa Rock and powered the device on.

Since that image doesn't have a display out that I can make use of (says out of
range on my monitor) I then used Angry IP Scanner to find
the IP of the rock.

Next SSH into the rock using:

ssh -l rock <ip>

And login using "rock" as the password (no double quotes).

Once your successfully logged into the device switch to the root user:

su root

Use "root" as the password.

The following taken from this askubuntu question

**Note this must either be done from su or you must sudo every command!

fdisk /dev/mmcblk0p1 Command (m for help): p Device Boot Start End Blocks Id System /dev/sda1 * 2048 9437183 4717568 83 Linux

^^ Make note of that Start value

Command (m for help): d Selected partition 1 Command (m for help): p Device Boot Start End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4, default 1): 1 First sector (2048-10485759, default 2048):

For First sector use the Start value from above, this is IMPORTANT, if you don't
it won't work and you will have to start over.

Last sector, +sectors or +size{K,M,G} (2048-10485759, default 10485759):

Just hit <enter> to use whatever the default is.

Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks.

Now your drive has been allocated from the original 2GB up to whatever your
disk size actually is, minus a bit for offset.

Restart the rock:

shutdown -r now

Give a few minutes for the device to power back up and then ssh back into the
rock:

ssh -l rock <ip>

Finally resize the disk to take up the entire space:

sudo resize2fs /dev/mmcblk0p1

ciliv:

Hi,
I got the WORKING SOLUTION for DWC_OTG not align error

Error:

DWC_OTG: dwc_otg_hcd_urb_enqueue urb->transfer_buffer address not align to 4-byte

https://www.miniand.com/forums/forums/picuntu-linux/topics/dwc_otg-dwc_otg_hcd_urb_enqueue-urb-transfer_buffer-address-not-align-to-4-byte-0xnnnnnnn

http://talk.radxa.com/topic/231/usb-bluetooth-adapter-cannot-be-recognized-under-lubuntu/7

http://www.freaktab.com/showthread.php?7679-usb-device-fails-to-initiate-DWC_OTG-error

Solution:

add the .map_urb_for_dma and .unmap_urb_for_dma to all three "struct hc_driver"

in

\3188-SRC-AP6210\kernel_ruikemei\drivers\usb\dwc_otg\dwc_otg _hcd.c

.map_urb_for_dma and .unmap_urb_for_dma are from

\3188-SRC-AP6210\kernel_ruikemei\drivers\usb\host\ehci-tegra.c

It is working for me so far, I have not change the functions` name so everyone may verify them for me.
I have tried on:
3188-SRC-AP6210(ubuntu 12)
Kernel-3188(android 4.2)
https://github.com/phjanderson?tab=repositories

and both kernel work fine with this fix

just search "tegra" in the attached code to see the changes I made

similar solution(but I dont know why this one does not work for me):

https://github.com/linux-sunxi/linux...cb11a65ebcd678

Cheers

Attachments:dwc_otg_hcd.c

http://www.freaktab.com/attachment.php?attachmentid=8484&d=1413951850

26

@shvonder Porting/improvement is not so easy... it needs a lot of efforts

35

http://item.taobao.com/item.htm?spm=a230r.1.0.0.RAT0c7&id=41808694865&ns=1&abbucket=3#detail
2、使用说明
目前有两个软件版本,一个是正式版本,基于BOX SDK开发, 官方提供支持, 不支持双显,
另一个版本是测试版本,基于Tablet SDK 开发,官方不提供支持,支持双显

BOX SDK版本:
不支持LVDS和 HDMI 双显,所以要使用LVDS来显示的话,需要下载LVDS对应的固件
radxa_rock_pro:
http://pan.baidu.com/s/1gd9Za2B
radxa_rock_lite:
http://pan.baidu.com/s/1i3giMQ5

Tablet SDK 版本:
radxa_rock_pro:
http://pan.baidu.com/s/1pJlwpKZ
radxa_rock_lite:
http://pan.baidu.com/s/1qW0TofU

Yao:

说明: 该SDK只供开发和学习使用,官方不提供支持
代码下载链接
https://mega.co.nz/#!lV1hjSCL!60aCQ4_mOD8Z8MC--5AoWKpHOmRyR5c63KgwEZhqTw4
固件下载地址
lite:
http://pan.baidu.com/s/1jG5jcu6
pro:
http://pan.baidu.com/s/1m277o

使用说明:

几个重要功能点说明
1:该SDK是rockchip官方提供的平板SDK
2、支持HDMI 和 LVDS 同时显示
3、支持竖屏模式
4、支持LVDS,TP,Camara(soc camera, 不支持usb camera)
5、包含与平板相关的sensor驱动
6、其他平板特性

如何获得代码
该SDK是用repo来管理的,代码包含在数据库中,在解包压缩文件后,你要执行下面命令,从数据库中还原代码
$tar -xvf rk3188_radxa_rock_pro_lite_android4.4_tablet_sdk_20141013.tgz
$cd rk3188_radxa_rock_pro_lite_android4.4_tablet_sdk_20141013
$cd .repo/repo/
$./repo sync

如何编译
1) kernel编译
$cd kernel
$make radxa_rock_lite_dual_display_kitkat_defconfig (for rock lite)
$make radxa_rock_pro_dual_display_kitkat_nand_defconfig(for rock pro,boot from nandflash)
$make radxa_rock_pro_dual_display_kitkat_sdcard_defconfig (for rock pro,boot from sdcard)
$make kernel.img -j8
2) android编译
$source build/envsetup.sh (android 源码根目录)
$lunch radxa_rock_pro (for rock pro and rock lite)
$make -j8
$./mkimage ota

update.img 位于 rockdev/

如何刷机
Nand 启动
请参考 http://radxa.com/Rock/flash_the_image
Sd卡启动
请参考同目录下面的"How to make start-up sdcard.doc"