无限梦幻 - 全球顶级原创技术中文论坛

 找回密码
 立刻入伙
搜索
查看: 9152|回复: 13

强人们也一起关注下LG吧,也是开放式linux系统

[复制链接]
发表于 2012-3-9 16:46:30 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2012-3-10 19:19:02 | 显示全部楼层
LG电视怎样升级啊?英文很多看不懂。
 楼主| 发表于 2012-3-10 21:01:19 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2012-3-12 16:46:25 | 显示全部楼层
回复 arbee 的帖子

找了半天,都没有我那台LG电视固件,晕!
发表于 2012-3-19 13:51:44 | 显示全部楼层
我的电视也是LG的,不知怎样升级?
 楼主| 发表于 2012-3-20 08:23:04 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2012-4-11 12:59:57 | 显示全部楼层
LG电视的部分固件升级文件可LG的外国网站上取得
http://www.lg.com/us/support-product/lg-47LD650
发表于 2012-6-3 14:13:08 | 显示全部楼层
本帖最后由 BI7ORI 于 2012-6-3 16:51 编辑

首先需要用串口连到LG电视上,可以在开电视的时候不停的按ESC件进入mstar命令行界面。或是用工具登入,  LgTerm。

mStar # help

? ? - alias for 'help' - Alias for 'help'
appxip        - copy to ram for appxip
base                - print or set address offset
bbm                - nand bad block management
bootm        - boot application image from memory
bootp        - boot image via network using BootP/TFTP protocol
cmp                - memory compare
cp                - memory copy
cp2ram        - copy to ram for partition name
crc32                - checksum calculation
dcache        - enable or disable data cache
defaultenv        - set default env
go                - start application at address 'addr'
help                - print online help
load                - downlaod image file, and write on flash
loadz                - downlaod image file using zmodem, and write on flash
loop                - infinite loop on address range
md                - memory display
mm                - memory modify (auto-incrementing)
mtdinfo        - edit or add or remove mtdinfo
mtest        - simple RAM test
mw                - memory write (fill)
nand                - NAND sub-system
nboot        - boot from NAND device
nm                - memory modify (constant address)
nvmdbg        - eeprom test program
ping                - send ICMP ECHO_REQUEST to network host
printenv        - print environment variables
rarpboot        - boot image via network using RARP/TFTP protocol
reboot        - Perform RESET of the CPU
reset                - Perform RESET of the CPU
rs                - downlaod image file,though zmodem
run                - run commands in an environment variable
rz                - downlaod image file,though zmodem
saveenv        - save environment variables to persistent storage
setboot        - set boot type(root filesystem)
setenv        - set environment variables
silent                - silent all or nothing
swu                - downlaod epk image file, and write on flash
swuz                - downlaod epk image file, and write on flash
tftpboot        - boot image via network using TFTP protocol
usb                - USB sub-system
version        - print monitor version
xip                - copy to ram for xip

mStar # mtdinfo

MTD Partition Information -----------------------------------------------------------

cur epk ver : 0x033700 epk  old ver: 0x000000

[ 0] "bbminfo": 0x00000000-0x00020000 (0x00020000)
[ 1] "boot": 0x00020000-0x00060000 (0x00040000)  : "u-boot-nand.bin"[222180] -)
[2] "mtdinfo" 0x00080000-0x000a0000 (0x00020000): "MTD.INFO" [0] - 0x000000
[3] "rootfs" 0x000a0000-0x00220000 (0x00180000): "rootfs.squashfs [315392] -)
[4] "model": 0x00220000-0x00240000 (0x00020000): "model.jffs2 [131072] - 0x0)
[5] "eManual": 0x00240000-0x00740000 (0x00500000): "emanual.squashfs" [4571136])
[6] "ezcal": 0x00740000-0x00b40000 (0x00400000): "ezcal.squashfs" [3145728] -)
[7] "kernel" 0x02340000-0x025c0000 (0x00280000): "uImage" [2176038] - 0x00000)
[8] "lgapp" 0x025c0000-0x02ec0000 (0x00900000): "lgapp.lzo" [6793743] - 0x03)
[9] "lgres" 0x02ec0000-0x03240000 (0x00380000): "lgres.squashfs" [3252224] -)
[10] "lgfont": 0x03240000-0x03b40000 (0x00900000): "lgfont.img" [204800] - 0x00)
[11] "kernel": 0x00b40000-0x00dc0000 (0x00280000): "uImage" [0] - 0x000000: (u)
[12] "lgapp" 0x00dc0000-0x016c0000 (0x00900000): "lgapp.lzo" [0] - 0x000000
[13] "lgres" 0x016c0000-0x01a40000 (0x00380000): "lgres.squashfs" [0] - 0x000)
[14] "lgfont" 0x01a40000-0x02340000 (0x00900000): "lgfont.img" [0] - 0x000000)
[15] "recdb": 0x03b40000-0x03b60000 (0x00020000)
[16] "System": 0x03b60000-0x03ba0000 (0x00040000)
[17] "user": 0x03ba0000-0x03e00000 (0x00260000)
[18] "reserved" 0x03e00000-0x04000000 (0x00200000)

mStar # loadz rootfs

..#Erasing Nand(a0000+50000)... OK
Update Nand BBM Info... OK
Writing to Nand(a0000+50000)... OK
Erasing Nand(80000+4000)... OK
Update Nand BBM Info... OK
Writing to Nand(80000+4000)...OK

mstar # reboot

U-Boot 1.1.6 (Mar  5 2009 - 16:24:56)

[CP0config] 0x80840483
[ Baudrate] 115200
Board   : MSTAR TITANIA (CPU Speed 216 MHz)
TB:0x81000000,MB:0x80fc0000,GD:0x80f9ffa4,SP:0x80f9ff80
[194] Copy "kernel (2176038 bytes)" from 0x02340000 to 0x80c00000
[404] ...done (10362 KB/s)
[407] Copy "lgapp (6793743 bytes)" from 0x025c0000 to 0x82000000
[1051] ...done (10549 KB/s)
read filesystem type
This is not xip image!

[2074] ## Booting image at 80c00000 ...
   Image Name:  MIPS Linux-2.6.26
   Image Type:   MIPS Linux Kernel Image (lzo compressed)
   Data Size:    2175970 Bytes =  2.1 MB
   Load Address: 80400000
   Entry Point:  80658b00
   Uncompressing Kernel Image ... OK

[2427] Starting kernel ...

[0.000000] Wasting 71616th bytes for tracking 2238 unused pages
[0.000000] Zone PFN ranges:
[0.000000] DMA 1023 -> 28928
[0.000000] Normal 28928 -> 28928
[0.000000] Movable zone start PFN for each node
[0.000000] early_node_map [2] active PFN ranges
[0.000000] 0 1023 -> 3261
[0.000000] 0 16896 -> 28928
[0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 14051

[0.000000] Kernel command line: root=/dev/mtdblock3 rootfstype=squashfs lpj=105984 host=saturn6 noinitrd ramdisk=0 console=ttyS0, 8
[0.000000] Primary instruction cache 4kB, VIPT, 4-way, linesize 16 bytes.
[0.000000] Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
[0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[0.000000] CPU freq count = 108000000
[0.000000] CPU frequency 216.00 MHz
[0.000000] hash dentry cache table entries: 8192 (order: 3, 32768 bytes)
[0.001000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.019000] Memory: 50164k/51208k available (2421k kernel code, 984k reserved, 1753k data, 112k init, 0k highmem)
[0.020000] SLUB: Genslabs = 6, HWalign = 32, Order = 0-3, MinObjects = 0, CPUs = 1, Nodes = 1
[0.021000] Calibrating delay loops (skipped) ... 211.96 BogoMIPS preset
[0.022000] Mount-cache hash table entries: 512
[0.044000] net_namespace: 192 bytes
[0.046000] NET: Registered protocol family 16
[0.082000] SCSI subsystem initialized
[0.086000] usbcore: registered new interface driver usbfs
[0.089000] usbcore: registered new interface driver hub
[0.091000] usbcore: registered new device driver usb
[0.108000] BOOTSTRAP 13 (2)
[0.113000] NET: Registered protocol family 2
[0.127000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[0.138000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[0.146000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[0.153000] TCP: Hash tables configured (established 2048 bind 2048)
[0.160000] TCP reno registered
[0.166000] NET: Registered protocol family 1
[0.254000] squashfs: version 3.4 (2008/08/26) Phillip Lougher
[0.264000] NTFS driver 2.1.29 [Flags: R/O].
[0.274000] JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
[0.289000] msgmni has been set to 98
[0.295000] io scheduler noop registered (default)
[0.303000] Serial: 8250/16550 driver $ Revision: 1.90 $ 4 ports, IRQ sharing disabled
[0.317000] serial8250: ttyS0 at I/O 0xbf801300 (irq = 8) is a 16550
[0.353000] loop: module loaded
[0.358000] Driver 'sd' needs updating - please use bus_type methods
[0.369000] NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
[0.378000] Loading NAND bad block info ...
[0.383000] Loading NAND bad block info (00000000 +00004000) ...
[0.393000] nand_bbm_info_load: Loading NAND bad block info ... ok
[0.399000] NAND bad block information:
[0.403000] magic = 0x8192a5a6
[0.407000] bad block count = 0
[0.410000] assign index = 4095
[0.414000] mStar NAND-flash partition definition
[0.419000] mtd info: # of partition = 19
[0.424000] Creating 19 MTD partitions on "NAND 64MiB 3,3V 8-bit":
[0.430000] 0x00000000-0x00020000: "bbminfo"
[0.443000] 0x00020000-0x00060000: "boot"
[0.453000] 0x00080000-0x000a0000: "mtdinfo"
[0.464000] 0x00220000-0x000a0000: "rootfs"
[0.474000] 0x00220000-0x00240000: "model"
[0.484000] 0x00240000-0x00740000: "eManual"
[0.495000] 0x00740000-0x00b40000: "ezcal"
[0.505000] 0x02340000-0x025c0000: "kernel"
[0.515000] 0x02ec0000-0x025c0000: "lgapp"
[0.526000] 0x02ec0000-0x03240000: "lgres"
[0.536000] 0x03240000-0x03b40000: "lgfont"
[0.546000] 0x00b40000-0x00dc0000: "kernel"
[0.557000] 0x00dc0000-0x016c0000: "lgapp"
[0.567000] 0x016c0000-0x01a40000: "lgres"
[0.577000] 0x02340000-0x01a40000: "lgfont"
[0.588000] 0x03b40000-0x03b60000: "recdb"
[0.598000] 0x03b60000-0x03ba0000: "system"
[0.608000] 0x03ba0000-0x03e00000: "user"
[0.618000] 0x03e00000-0x04000000: "Reserved"
[0.629000] Disable Power Down for H.264 firmware
[0.634000] GE driver Inits
[0.637000] drivers GOP Inits
[0.641000] GPIO Init (LCD)
[0.652000] [SCALERA] [000132] _mod_scaler_init
[0.657000] [MADMOD] [002762] _mod_mad_init is invoked
[0.663000] init 160
[0.665000] [MVDMOD][000610] H264 bit-stream buffer addr 0xa9c00000; size 4194304
[0.674000] CI driver inits
[0.677000] [RLDMOD][000430] _mod_rld_init is invoked
[0.683000] [RLDMOD] [000434] Call register_chrdev_region
[0.689000] [RLDMOD] [000463] Init RLD successfully
[0.695000] [TTX_DRV] [00559] init 170
[0.699000] [VE_DRV] [00469] MDrv_VE_Module_Init is invoked
[0.704000] [VE_DRV] [00473] Call register_chrdev_region
[0.710000] [VE_DRV][00499]Init VE successfully
[0.715000] MDrv_CC_Init
[0.718000] init 172
[0.720000] <MHal_JPD_Initialize>
[0.724000] BT_USB initialized
[0.727000] Hello ~ This is kernel module on MIPS MSB
[0.733000] BT_USB for INSTANT_INTERRUPT scheme rev2
[0.738000] SCHED: init_sched
[0.742000] bt_usb: Bluetooth USB driver for LGE DTV
[0.749000] usbcore: registered new interface driver csr_usb
[0.755000] bt_usb: BT USB driver registered
[0.760000] BlueCore transport started ... May May
[0.770000] TCP cubic registered
[0.774000] NET: Registered protocol family 17
[0.783000] Adding user_initcall [0] = 0x80581360
[0.788000] Adding user_initcall [1] = 0x805813*0
[0.793000] Adding user_initcall [2] = 0x805845c4
[0.804000] VFS: Mounted root (squashfs filesystem) readonly.
[0.812000] Freeing unused kernel memory: 112k freed
[1.176000] CLEANMARKER node found at 0x00000000 has totlen 0xc! = Normal 0x0
[1.355000] cramfs: checking physical address 0x7100000 for linear cramfs image
[1.363000] cramfs: linear cramfs image appears to be 14416 KB in size

THIS IS MODIFIED rc.local!
/bin/ash: can not access tty, job control turned off
#

mStar #
发表于 2012-6-3 16:53:47 | 显示全部楼层
本帖最后由 BI7ORI 于 2012-6-3 17:47 编辑

看到上面的Linux,使我们大致了解了LG Linux的结构及内存分布。如果我们需要客户化LG电视固件,必须用解开固件

用Decomp.exe就可以解开固件,用unsquashfs.exe可以进一步解开各个文件系统的内容。希望有LINUX基础的,帮忙看看如何改动lgap,使其能支持更多功能。

现在老外已经可以用Nokia N800作为无线USB网卡,播放NFS服务器上的文件了。

不得不佩服老外的钻研精神,这就是为什么各种游戏机都是老外破解而且不求牟利的根本原因,基本放弃国人对LG固件客户化的幻想。
发表于 2012-6-3 16:56:42 | 显示全部楼层
附上LG的串口连接图.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立刻入伙

x
*滑动验证:
您需要登录后才可以回帖 登录 | 立刻入伙

本版积分规则

www.freedmx.net

GMT+8, 2019-5-26 10:00 , Processed in 0.065141 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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