Firefly开源社区

1234
发表新贴

分享一下Pad版Ubuntu

28

积分

0

威望

0

贡献

技术小白

积分
28
发表于 2015-7-27 18:08:39     
richi 发表于 2015-5-16 18:36
是啊!我也碰到问题。我想重新编最新的PAD版内核来支持 FIREFLY 的 5.5"LCD.
按照WIKI
make firefly-rk3 ...


parameter文件 修改 CMDLINE:console=ttyS2
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
56
发表于 2015-8-3 23:12:45     
斑竹,请问我移植MIPI5.5寸屏幕,ubuntu怎么是竖屏的?如何改成横屏的啊,多谢啦
回复

使用道具 举报

600

积分

21

威望

25

贡献

技术大神

Rank: 3Rank: 3

积分
600

活跃会员

发表于 2015-8-7 19:45:24     
even 发表于 2015-8-3 23:12
斑竹,请问我移植MIPI5.5寸屏幕,ubuntu怎么是竖屏的?如何改成横屏的啊,多谢啦

这个没做过哦。。。
回复

使用道具 举报

493

积分

6

威望

0

贡献

技术达人

Rank: 2

积分
493
QQ
发表于 2015-9-9 16:12:18     
楼主,你好,我用PAD版本的源码,用  firefly-rk3288-linux_defconfig这个内核配置编译出来的 kernel.img   和 resource.img,再打包成boot.img。
我先已经烧写了你的完整固件,可以正常跑。
我把我编译的boot.img烧写进去,内核刚开始跑,就停了,就不断的重启!下面是打印信息!
DDR Version 1.00 20141007
In
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT


U-Boot 2014.10-RK3288-01 (Nov 27 2014 - 16:44:27)

CPU: rk3288
CPU's clock information:
    arm pll = 600000000HZ
    periph pll = 297000000HZ
    ddr pll = 200000000HZ
    codec pll = 384000000HZ
Board:  Rockchip platform Board
DRAM:  Found dram banks:1
Adding bank:0000000000000000(0000000080000000)
128 MiB
storage init OK!
Using default environment

GetParam
check parameter success
Unknow param: MACHINE_MODEL:rk30sdk!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
Unknow param: PWR_HLD: 0,0,A,0,1!
failed to prepare fdt from boot!
power key: bank-0 pin-5
pmic:act8846
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2014-11-27#2.19
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo_on switch from dts [0]
no fuel gauge found
Hit any key to stop autoboot:  0
failed to load fdt from boot!
kernel   @ 0x02000000 (0x0062d51c)
ramdisk  @ 0x04bf0000 (0x00275aeb)
Secure Boot state: 0
bootrk: do_bootm_linux...
   Loading Device Tree to 0480d000, end 0482aad2 ... OK
Add bank:0000000000000000, 0000000080000000

Starting kernel ...

<hit enter to activate fiq debugger>
[    0.000000] Booting Linux on physical CPU 0x500
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0 (root@ubuntu) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #3 SMP PREEMPT Wed Sep 9 00:54:49 PDT 2015
[    0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Rockchip RK3288 (Flattened Device Tree), model: rockchip,rk3288
[    0.000000] rockchip_ion_reserve
[    0.000000] ion heap(cma): base(40000000) size(28000000) align(0)
[    0.000000] ion heap(vmalloc): base(0) size(0) align(0)
[    0.000000] cma: CMA: reserved 640 MiB at 40000000
[    0.000000] ion_reserve: cma reserved base 40000000 size 671088640
[    0.000000] cma: CMA: reserved 16 MiB at 2e800000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1da9000 s14016 r8192 d14656 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522768
[    0.000000] Kernel command line: console=tty0 console=ttyS2 earlyprintk root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init  mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot) storagemedia=emmc loader.timestamp=2014-11-27_16:44:27
[    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] Memory: 2048MB = 2048MB total
[    0.000000] Memory: 1391428k/1391428k available, 705724k reserved, 663552K 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 - 0xc0ad7490   (11070 kB)
[    0.000000]       .init : 0xc0ad8000 - 0xc0b6c6c0   ( 594 kB)
[    0.000000]       .data : 0xc0b6e000 - 0xc0c4c178   ( 889 kB)
[    0.000000]        .bss : 0xc0c4c178 - 0xc0d6bc44   (1151 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] rk_clk_tree_init start! cru base = 0xfed00000
[    0.000000] rk_get_uboot_display_flag: uboot_logo_on = 0
[    0.000000] rkclk_init_clks: cnt_parent = 7
[    0.000000] rkclk_init_clks: cnt_rate = 31
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns
[    0.000000] process version: 2
[    0.000000] channel:0, lkg:14
[    0.000000] target-temp:80
[    0.000000] channel:2, lkg:0
[    0.000000] target-temp:80
[    0.000000] channel:0, lkg:14
[    0.000000] target-temp:80
[    0.000000] channel:1, lkg:11
回复

使用道具 举报

493

积分

6

威望

0

贡献

技术达人

Rank: 2

积分
493
QQ
发表于 2015-9-22 13:55:06     
楼主,事实证明,用PAD版本的SDK,用firefly-rk3288-linux_defconfig来编译的内核,烧进去是无法正常工作的!!!!!是不是楼主忘记其他的了?

另外,几点疑问:1. 我解包你的固件,发现里面并没有kernel.img,而且烧写的配置文件里也没有kernel
mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot)
2.在烧写的过程中,如果按照烧写配置文件里的mtdparts,如果我单独更新内核,只需要更新resource.img和boot.img就Ok了!实际情况也是如此!
3.我用自己编译的resource和boot,烧进去,系统只跑到
Starting kernel ...
就停止,然后就是不断地重启
4.我用你的resource和我自己的boot,烧进去系统跑到如下图,就停止了!

QQ截图20150922135547.png
回复

使用道具 举报

493

积分

6

威望

0

贡献

技术达人

Rank: 2

积分
493
QQ
发表于 2015-9-22 14:42:51     
jingjin221 发表于 2015-9-22 13:55
楼主,事实证明,用PAD版本的SDK,用firefly-rk3288-linux_defconfig来编译的内核,烧进去是无法正常工作的 ...

把root=/dev/block/mtd/by-name/linuxroot 改成 root=/dev/mmcblk0p5,,就好了!可参考http://developer.t-firefly.com/f ... highlight=initramfs
回复

使用道具 举报

37

积分

0

威望

0

贡献

禁止发言

积分
37
发表于 2015-11-9 18:05:01     
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

600

积分

21

威望

25

贡献

技术大神

Rank: 3Rank: 3

积分
600

活跃会员

发表于 2015-11-11 19:40:57     
jiangdou 发表于 2015-11-9 18:05
请教下楼主,,你的lubuntu刷机固件怎么打包的

像官方的wiki里说的一样,先创建一个linuxroot.img放到tf卡,挂载linuxroot.img,然后把文件系统用cp -a 拷贝到挂载linuxroot.img的目录。
回复

使用道具 举报

15

积分

0

威望

0

贡献

技术小白

积分
15
发表于 2016-11-12 20:29:10     
连接失效,能重新发下吗?
回复

使用道具 举报

600

积分

21

威望

25

贡献

技术大神

Rank: 3Rank: 3

积分
600

活跃会员

发表于 2016-11-21 11:17:11     
回复

使用道具 举报

返回列表
1234
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表