搜索
bottom↓
回复: 26

又一个趣味改造的目标来了!!!168元的linux操作系统的mp4

[复制链接]

出0入0汤圆

发表于 2010-10-2 18:40:03 | 显示全部楼层 |阅读模式
在 Onda VX747 MP4 Player 上运行Linux 和Qtopia
时间:2009-02-26 00:04 作者:ceshi123 阅读:244
  Linux and Qtopia on Onda VX747 MP4 Player? 没错。最近项目 jz-hacking 发布了他们最新的 hack 成果:在 Onda VX747 MP4 上成功运行 Linux Kernel 和 Qtopia 桌面环境。虽然离真正实用还有一段距离,不过总是一个好的开端。   

    如何使用的教程见这里,所需要的是一张 Micro SD 卡用来存放 Linux Kernel 以及 root file system。需要使用者具有一定的 Linux 知识。目前的安装方法是很安全的,不会损坏原有的固件。感兴趣的朋友可以尝试一下。
    项目地址:http://code.google.com/p/jz-hacking/
    原文链接:linuxtoy.org/archives/linux-and-qtopia-on-onda-vx747-mp4-player.html">http://linuxtoy.org/archives/linux-and-qtopia-on-onda-vx747-mp4-player.html

linux on onda vx747(updated)
Feb 24th, 2009 | Posted by yajin | Filed under JZ, kernel Leave a comment | Trackback Before reading this article, please please visit the following website and help this little girl. She is the daughter of panjet, the core member of this project. Without him, this project can not even happen.

http://yifanfund.com (English)

在阅读这篇文章前, 我恳请您花一点时间来帮助panjet的女儿怡帆. Panjet是这个项目的核心成员.如果没有他的参与,这个项目不可能成功地port linux到vx747上面. 赠人玫瑰,手留余香.  您的爱心一定能让小怡帆度过目前的困难.

http://help-yifan.org (中文)



Hi guys, a good news for you who are interested in running linux on jz4740 based devices. First I would link to say it is not a very easy work although ingenic has released the linux source code. Secondly I would like to say thanks to many people who helped me a lot, vxworks,panjet,esoul of linuxforum and Maurus Cuelenaere, the great rockbox guy.

Hey do not be so boring to say these useless words. Tell me how do you do that. Ok. Please be patient.

Currently linux can run on onda vx747 without writting any things to your nand flash. What you need is just a micro sd card  bigger than 128M bytes where you put linux kernel and root filesystem. Of course, if you want to replace the original firmware and write u-boot into nand flash, I can tell you how to do it. Even after writing u-boot into your nand flash you can still reinstall the original firmware. So please do not worry about your devices.  It won't be damaged.

1. Download the following files from jz_hacking.

(1)jz_tools_20090224.tar.bz2: It contains a tool called usbtool which uploads your program into jz4740's internal sram directly.

md5:1520851babe97da15651f9bef2c1ac5f

(2)jz_hacking_20090224.tar.bz2: It contains u-boot image, jz_xloader and linux image.

md5:ac755b694f6e38224560a9051f1392e7

(3)root26.tar.bz2: root file system of linux 2.6 kernel with qtopia

md5:738f6dfc648d36229a799d1d608655d1

Some guy says that this bz2 file is corrupted. I have tried downloading it using firefox in window and the file downloaded is corrupted!. But when I use other download tool it is ok. So if you can not unpack this package, you can try downloading it using other download tool. Wget in linux works well.

2. Make usbtool

Decompress the jz_tools_20090224.tar.bz2 and build the usbtool. It can be compiled in linux or minigw on windows. Please first read the README file in 'jz_tools_20090224/usb_tools'.

In linux, libusb-dev needs to be installed first. In windows, install MingW32 and LibUSB-Win32 and edit "Makefile" to make sure "WIN_DRIVERS_LIBUSB_DIR" is set correctly.

Type 'make linux' in linux platform and 'make win' on windows to build usbtool. After that copy jz_xloader.bin and u-boot-boot-linux.bin and u-boot-program-nand.bin from jz_hacking_20090224 into this directory.

3. Prepare your micro sd card

First you need to format sd card into two three partitions, one is fat and the other is ext2 and the third partition is swap. You do not know how to do it? Do not worry. This wiki page on beagle board tells you how to do it.  Please  to format your first partition to FAT16 format, not FAT32 referred on the wiki page. That mean you have to use 'mkfs.vfat -F 16' to format the first partition. Use mkswap command in linux to format the third partition into swap space. In xp, you can use partition magic to do this job.

Download the following files:

uImage-vx747-20090303 :this is the linux kernel with sound support
rcS-vx747-20090303 :This is the init script for vx747.
pointercal-vx747-20090302 :This is the touch screen calibration data  for vx747.
After you finish formatting your micro sd card, rename uImage-vx747-20090303 to uImage and copy it to your fat partition. Copy u-boot-nand.bin from jz_hacking_20090224 to your fat pattition. Do NOT copy uImage in jz_hacking_20090224 to your fat partition. It is the old linux kernel image. Now we have uImage-vx747-20090303 and we do not need it anymore. Copy all the files in root26 into the ext2 partition. Rename rcS-vx747-20090303 to rcS and copy it to directory 'ext/init.d/rcS' of the ext2 partition of your SD card. Rename pointercal-vx747-20090302 to pointercal and copy it to the directory 'ext/pointercal'.

4. Boot linux

Ok, it is time to boot linux. Insert the sd card into onda vx747. Press the reset button and hold the M button at the same time to enter usb boot mode. Run the usbtool using the following commands.

./usbtool 1 jz_xloader.bin 0x80000000

./usbtool 1 u-boot-boot-linux.bin 0x80100000


If that does not work in your system(some guy says it does that work on ubuntu), you can try the following commands:

sudo ./usbtool 12


Then you can see the u-boot logo. It will load uImage from micro sd card into SDRAM automatically and then boot from SDRAM. After that, linux logo will appear on LCD with framebuffer console output. At last, qtopia is running and you can play with it.

5. Programing u-boot into nand flash(optional)

If you decide to replace the original firmware and write u-boot into nand flash, you can use u-boot-program-nand.bin to do that.

./usbtool 1 jz_xloader.bin 0x80000000

./usbtool 1 u-boot-program-nand.bin 0x80100000

Also 'sudo ./usbtool 13' can work.

It will write u-boot into nand flash and reboot onda vx747 automatically.

If you want to restore the original firmware, this information may help you.

I only test the linux kernel and u-boot on my 4G bytes onda vx747 with 16M SDRAM. Some guy says that there is another model of vx747 with 32M SDRAM, I have not tried on that device. If you have any suggestion, please wirte to me(yajin AT vm-kernel.org). Spams are not welcome.  .

Current Issue:

Touch screen is not accurate (solved)
Sound is not working (solved)
time and date setting (solved)

nand driver of u-boot is not working on 8G vx747 (not yet. I do not have the 8G version of vx747)
Please be patient. I will solve these problems.

Also any donation of jz4740/4750 based device is appreciated.

For anyone interested, the source code of u-boot and linux-kernel is available here.

http://code.google.com/p/jz-hacking/wiki/Index?tm=6#source_code



Tags: JZ, jz4740, linux, onda, qtopia, vx747

阿莫论坛20周年了!感谢大家的支持与爱护!!

一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。

出0入0汤圆

 楼主| 发表于 2010-10-2 18:40:31 | 显示全部楼层
http://code.google.com/p/jz-hacking/downloads/list


`~~~~~~~~~~~~~~
http://www.ondabbs.cn/thread-35439-1-2.html
~~~~~~~~~~~~~~~~~~`
http://vm-kernel.org/blog/2009/02/24/linux-on-onda-vx747/

~~~~~~~~~~~~~~~~~~~~~~
其他关于君正片子机器的改造计划
http://www.linuxforum.net/forum/showflat.php?Cat=&Board=embedded&Number=730781&fpart=all

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
线索 麦迪T553 这个东东貌似是江苏产的,taobao上大部分都在省内卖家,据说是照抄开发板做出来的,似乎是个好消息

~~~~~~~~~~~~~~~~~~~~~~
http://www.unixresources.net/linux/clf/embedded/archive/00/00/70/77/707757.html#article708222

有截图

出0入0汤圆

 楼主| 发表于 2010-10-2 19:12:24 | 显示全部楼层
最后一个链接里有大量实际操作截图,看来君正的mips片子已经很成熟了啊,
ps 本坛真的没什么人捣腾嵌入式linux,我发现我居然很可能是第一个转帖的人
还有就是 中国linux论坛是个很牛逼牛逼的地方,,草,一山更比一山高哇,,,捣腾linux靠linux吃饭的人貌似在上面很多很多的说,
作为长期混迹单片机的菜鸟,感觉压力很大啊,,,、
http://www.unixresources.net/linux/clf/embedded/list/11.html
~~~~~~~~~~~~~~~~~~~

致力于从单片机发展到嵌入式linux的菜鸟们可以迁徙了,,实话实说,真心的,,,玩单片机,玩单片机类型的arm,出头之日永远未知,
换一片天地海阔天空,,,,,

出0入134汤圆

发表于 2010-10-2 19:57:36 | 显示全部楼层
这都可以改造啊!


PS:写的真够乱的

出0入0汤圆

发表于 2010-10-2 20:04:21 | 显示全部楼层
mark

出0入0汤圆

发表于 2010-10-2 21:38:48 | 显示全部楼层
好东西,为新人打开了一扇廉价的大门!

出0入0汤圆

发表于 2010-10-2 22:51:56 | 显示全部楼层
mark

出0入0汤圆

发表于 2010-10-2 22:55:43 | 显示全部楼层
mark

出0入0汤圆

发表于 2010-10-3 04:41:18 | 显示全部楼层
又是个只说英文的国人,而且功能相当残缺,驱动还没做完。

出0入0汤圆

发表于 2010-10-3 05:01:29 | 显示全部楼层
又看了遍,需要linux环境阿,

出0入0汤圆

发表于 2010-10-3 10:26:49 | 显示全部楼层
记号,我

出0入0汤圆

发表于 2010-10-3 10:37:32 | 显示全部楼层
RK27也有开源的项目

出0入0汤圆

发表于 2010-10-3 11:07:52 | 显示全部楼层
强大

出0入0汤圆

发表于 2010-10-3 15:30:58 | 显示全部楼层
俺就是混中国linux论坛的,这个项目是1help1做的, 当初 怡帆 的父亲panjet还帮他弄串口的一些东西。
看到了怡帆的捐款信息,现在她已经做完了肺移植手术,还在美国一个医院里面继续治疗中。从我们当初启动募捐到现在已经快一年了,真快。回头看看,最后竟然凑足了几十万美金,真的不容易。

BTW,这边是电子论坛,做Linux的人少很正常,而且小系统没必要用Linux。单片机和ARM7上跑小的RTOS,比如rt-thread等还是很好的选择。

出0入0汤圆

 楼主| 发表于 2010-10-3 16:17:50 | 显示全部楼层
http://www.ourdev.cn/bbs/bbs_content.jsp?bbs_sn=3981330&bbs_page_no=1&bbs_id=2070

http://www.linuxforum.net/forum/showflat.php?Cat=&Board=embedded&Number=749901
~~~~~~~~~~~~~~~~~~~~~~
两个互通信息的链接,看来双开的朋友不少哦,,

出0入0汤圆

 楼主| 发表于 2010-10-3 16:19:36 | 显示全部楼层
回复【13楼】rtems
俺就是混中国linux论坛的,这个项目是1help1做的, 当初 怡帆 的父亲panjet还帮他弄串口的一些东西。
看到了怡帆的捐款信息,现在她已经做完了肺移植手术,还在美国一个医院里面继续治疗中。从我们当初启动募捐到现在已经快一年了,真快。回头看看,最后竟然凑足了几十万美金,真的不容易。
btw,这边是电子论坛,做linux的人少很正常,而且小系统没必要用linux。单片机和arm7上跑小的rtos,比如rt-thread等还是很好的选择。

-----------------------------------------------------------------------

you can see that、。,,都是有米的人哦,有米才能行善啊,换做我只能为她做几遍祷告了,god bless~~

出0入0汤圆

 楼主| 发表于 2010-10-3 16:24:48 | 显示全部楼层
回复【11楼】longquan 巅
rk27也有开源的项目
-----------------------------------------------------------------------

别处的解释,,,

而 瑞芯微 的core 是买的ARM的,据说是hard core(如果我错了,请指出来)。其实 买hard core是最没有技术含量的事情,大概类似于系统集成商之类的角色。而且ARM的hard core我想价格也不会便宜。


~~~~~瑞芯微稍差一点点,不过arm核心我们上手会更容易,在我看来搞搞这个就跟刷机似的,倒腾倒腾就入门了,,
~~~~~跑rtos固然很好,但是rtos很多时候高不成低不就,很多低级场合都懒得搞这个,而搞这个的复杂度不比移植类似linux的系统小
还有,像arm7什么的裸奔的很多很多,,当然了,rtthread给中国的嵌入式带来了很好的影响,。

出0入0汤圆

 楼主| 发表于 2010-10-3 16:27:55 | 显示全部楼层
还有一个导致我有点生气的原因是,


中国现在嵌入式linux培训满天飞,为什么真正能动手做喜欢做的人还这么少,是不是都只是奔钞票去的呢,,
咱们论坛号称中国第一电子论坛,,大家也许对开发板可能更感兴趣,但我们为什么忽略了电子产品是为了应用而生的,舍本求末啊!!

出0入0汤圆

 楼主| 发表于 2010-10-3 16:41:40 | 显示全部楼层
又一个有详细说明和截图的实做 在昂达vx777上面 昂达真不错才200块的玩具,, 还有君正的usb tool ,,    网址
http://www.mp4nation.net/forum/viewtopic.php?f=6&t=10828

出0入0汤圆

发表于 2010-10-3 16:57:27 | 显示全部楼层
在昂达机友俱乐部上http://www.ondabbs.cn/thread-42281-1-2.html看到747运行LInux的工具和教程
下面为米人专用链接
747运行LInux工具包.rar  http://d.namipan.com/d/80cdefc05d29ca349406e0f5fe7487bb91b8e1f7f1de5702
747运行LInux教程.rar    http://d.namipan.com/d/55ea9ae7426a96c88b643787f33f9391e4720632c9c69801

没安装米人

出0入0汤圆

发表于 2010-10-3 17:02:20 | 显示全部楼层
对改造都比较感兴趣,嘿嘿,谢谢提供线索

出0入0汤圆

发表于 2010-10-3 17:26:46 | 显示全部楼层
不错

出10入10汤圆

发表于 2010-10-3 17:50:31 | 显示全部楼层
有蓝魔的就好了,我手上就有一个,可以试一下。

出0入0汤圆

发表于 2010-10-3 18:02:59 | 显示全部楼层
我倒希望有meizu m6 的...

出10入0汤圆

发表于 2010-10-5 10:09:41 | 显示全部楼层
mask~!以后用

出0入0汤圆

发表于 2010-10-5 16:40:59 | 显示全部楼层
mark!~

出0入0汤圆

发表于 2010-10-5 17:48:58 | 显示全部楼层
先做个标记。
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-20 12:51

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表