Author Topic: Linux on the LetCool Gamestation?  (Read 27714 times)

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: Linux on the LetCool Gamestation?
« Reply #40 on: August 27, 2012, 06:42:43 pm »
Is that a good news? I see a kernel panic :D

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #41 on: August 27, 2012, 08:20:29 pm »
 8) yes . Here is the display should work but we have some difficulties,
ps This work is one person for 2nd week  ;)

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #42 on: August 28, 2012, 12:32:46 pm »
RedBoot> load -m xmodem -r -b 0x200000
g_Cfg_s.redbootCfg:0xc0000004
CCCCCCCCCCCCCCCCRaw file loaded 0x00200000-0x002f75f6, assumed entry at 0x00200
000
xyzModem - CRC mode, 7916(SOH)/0(STX)/0(CAN) packets, 16 retries
RedBoot> go -c 0x200000
g_Cfg_s.redbootCfg:0xc0000004
+do_go
image sel: 0, image_sel_set: 0
rmvb enable!
Mask interrupts on all channels
ID-CACHE sync and invalidate
set up a temporary context. workspace_end=0x00f00000, entry=0x00200000
switch context to trampoline. workspace_end=0x00efffb0
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.8spmp8000 ([email protected]) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-
8ubuntu3) ) #44 PREEMPT Tue Aug 28 15:19:07 MSK 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Letcool N350JP, model: Letcool N350JP handheld game console
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c01e0220, node_mem_map c0209000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc:
  • 0

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200n8 earlyprintk  debug mem=32M
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30328k/30328k available, 2440k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc01b8000   (1728 kB)
      .init : 0xc01b8000 - 0xc01cf000   (  92 kB)
      .data : 0xc01d0000 - 0xc01e0a00   (  67 kB)
       .bss : 0xc01e0a24 - 0xc02080e4   ( 158 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:112
VIC @c2800000: id 0x00000000, vendor 0x00
VIC: unknown vendor, continuing anyways
VIC @c2802000: id 0x00000000, vendor 0x00
VIC: unknown vendor, continuing anyways
time keeping init --> OK
time keeping init --> OK
time init --> OK
time init --> OK
local IRQ init --> OK
local IRQ init --> OK
kmem_cache_init_late --> OK
kmem_cache_init_late --> OK
Console: colour dummy device 80x30
console init --> OK
console init --> OK
Calibrating delay loop... 155.03 BogoMIPS (lpj=775168)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x157b70 - 0x157bac
spmp8000-pwm 90000000.pwm: pwm 0 registered
bio: create slab <bio-0> at 0
Switching to clocksource tmrb2
NetWinder Floating Point Emulator V0.97 (double precision)
spmp8000-adc 9301f000.adc: registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
mousedev: PS/2 mouse device common for all mice
turn off boot console earlycon0


 8) 8) 8) 8) 8)

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #43 on: August 28, 2012, 12:44:47 pm »
What does this mean? We have a kernel and device tree

dmitry_smagin

  • *
  • Posts: 420
Re: Linux on the LetCool Gamestation?
« Reply #44 on: August 28, 2012, 01:47:03 pm »
Keep going, guys!
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

pcercuei

  • ***
  • Posts: 1427
    • My devblog
Re: Re: Linux on the LetCool Gamestation?
« Reply #45 on: August 28, 2012, 02:51:32 pm »
8) yes . Here is the display should work but we have some difficulties,
ps This work is one person for 2nd week  ;)

Believe me I know how you feel. Been there before ;-)

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #46 on: August 28, 2012, 03:14:09 pm »
because our programmer is busy in other projects he has no SPMP8K device, he said that he would bring the case to start the kernel and a few important drivers, the latest you can download the source code here
http://www.onlinedisk.ru/file/934838/

DisgruntleElf

  • *
  • Posts: 81
Re: Linux on the LetCool Gamestation?
« Reply #47 on: September 01, 2012, 04:31:57 pm »
I really appreciate the time your taking to do this.

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #48 on: September 02, 2012, 10:41:58 am »
problems connecting the display driver to be connected somewhere here 93000000-93100000
that's a lot of options on this, it was decided to look for output to UART

tell me how to write the output to a UART with address  :'(

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #49 on: September 12, 2012, 07:11:16 pm »
We have good news

+++MMP RomCode ver 0.3.0 2008/06/05
pwrc_cfg=a0000006
vic1_rawSts=00000020
keyscan4=00001880
iotraps=00000000
NAND_TYPE: SAMSUNG
prPyld_LDWORD=b614d5ec
prPyld_HDWORD=7414d574
u16PageNoPerBlk=128
u16PageSize=4224
u16PyldLen=4096
u16ReduntLen=64
u16SpareLen=64
u16TotalBlkNo=4096
Start to read DRAM_Init code from flash...
start to extract DRAM_Init code...
call DRAM_Init()...
no dramcfg available
+ScanRam ver v1.0.0.0
DRAM Type Scan Start

00000020

init DRAM done
Enter the bypass mode!
+ver=00030000
RedBoot_ver=01000000
Scanram_ver=01000000
warning! target IC is not 8000(eco_e) or 8050
version=ffff0000
usb sno=0000ffff
g_delay2ExitSelfRefresh=600, delayForDllLock=0, g_clk_sw_check=00000000
g_LcdRatio[0]=0
g_spll_ratio[0]=000e0a00
g_LcdRatio[1]=7
g_spll_ratio[1]=000e082c
g_LcdRatio[2]=11
g_spll_ratio[2]=000e082c
g_LcdRatio[3]=7
g_spll_ratio[3]=000e082c
g_LcdRatio[4]=8
g_spll_ratio[4]=000e0a44
there is case that dll is diabled
-RetrieveSysInfo
romfs_mount g_IsFirst_Mount:0
ReadID(1,0)
begin ReSet(1,0)
end ReSet(1,0)
ReadID(1, 0)buf:0x1001b1c0

ec d5 14 b6 74 ec d5 14 - b6 74 ec d5 14 b6 74 ec
d5 14 b6 74 ec d5 14 b6 - 74 ec d5 14 b6 74 ec d5
######################################

g_ChipMap[0]=0
g_ChipMap[1]=255
g_ChipMap[2]=255
g_ChipMap[3]=255
ReadID(1,0)
buf:0x1001b1c0

ec d5 14 b6 74 ec d5 14 - b6 74 ec d5 14 b6 74 ec
d5 14 b6 74 ec d5 14 b6 - 74 ec d5 14 b6 74 ec d5
ID : ec d5 14 b6 74
#############pstSysInfo->u16PyldLen:4096
#############pstSysInfo->u16PageNoPerBlk:128
#############pstSysInfo->u16TotalBlkNo:4096
XXpstSysInfo->u8Internal_Chip_Number:0
###################sysinfo###################
pstSysInfo->u16PageNoPerBlk:128
pstSysInfo->u16PageSize:4224
pstSysInfo->u16PyldLen:4096
pstSysInfo->u16ReduntLen:64
pstSysInfo->u16TotalBlkNo:4096
pstSysInfo->u8TotalBlkNoShift:12
pstSysInfo->u8MultiChannel:0
pstSysInfo->u8Support_Internal_Interleave:0
pstSysInfo->u8Support_External_Interleave:0
pstSysInfo->u8Internal_Chip_Number:0
pstSysInfo->u8PagePerBlkShift:7
pstSysInfo->u8Support_TwoPlan:0
g_IsNand_4CS:1
#############################################
begin ReadPage_Test
begin ReadPage_Test
rFM_AC_TIMING:0x1f2222
end of AutoSettingACTiming:0x1f2222
g_nbi.RomFs_Max_BlkCount : 120
**********************NFRC INFO*************************
nfrc.rom.start : 64
nfrc.rom.count : 120
nfrc.rom1.start : 184
nfrc.rom1.count : 120
nfrc.rom_a.start : 304
nfrc.rom_a.count : 0
nfrc.block_count : 120
nfrc.page_per_block : 128
nfrc.pagesize : 4096
nfrc.phy_pagesize : 4096
nfrc.sectors_per_page : 8
nfrc.u8Support_TwoPlan : 0
nfrc.u8Support_Internal_Interleave : 0
nfrc.u8Support_External_Interleave : 0
nfrc.u8Internal_Chip_Number : 0
********************************************************
g_PageSize:4096
pdisk->magic:0x526f6d2e
pdisk->nodecount:0x423
sizeof(romfs_node):32
page count:9

pwrc_cfg=a0000006
vic1_rawSts=00000020
keyscan4=00001880
iotraps=00000000


ref_clk: 243000000 Hz
sys_clk: 121500000, sys_ahb=60750000, sys_apb=30375000 Hz
ceva_clk: 243000000, ceva_ahb=121500000, ceva_apb=60750000 Hz
arm_clk: 243000000, arm_ahb=121500000, arm_apb=15187500 Hz

do_bootcfg: [Exec kernel][Load romfs]
========= usbmsd_init: enter
if_dm9000.c debug var(0x0002fbdc)=0
sysCtrl.c debug var(0x0002fbe4)=1
msd debug var(0x0002fbec)=1
net_io.c debug var(0x0002fbf4)=0
standalone eth_drv.c debug var(0x0002fbfc)=0
main.c debug var(0x0002fc04)=3
enet.c debug var(0x0002fc0c)=0
[UDC ]::init_msd(394) ========== init_msd:enter ==========
pInfo->heards:55545353
pInfo->hearde:55545345
pInfo->pattern:ec439a4b
Id=ec439a4b
pInfo->heards:55545353
pInfo->hearde:55545345
pInfo->pattern:ec439a4b
[UDC ]::genRandomSerial_UDC(2784) read have Id=ec439a4b
[UDC ]::genRandomSerial_UDC(2838) finish genRandomSerial_UDC()
[UDC ]::init_msd(402) ========== disconnect UDC =========
[UDC ]::initial_udc(1992) --UDC_Init() finish--[UDC ]::start_udc(2022) ---- star
t_udc()-------

g_IsInit_nf:1
[UDC ]::init_msd(419) ======= init udc finish ========
[UDC ]::poll_udc_connected(2622) ====== poll..=======
[UDC ]::poll_udc_connected(2650) ====== poll.EXIT EXIT .=======
usbmsd_init: exit
net_init: skip init ethernet

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v2_0_28 - built 13:43:27, Jun 15 2009

Platform: SUNPLUS_MMP (ARM 9)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2003, 2004, eCosCentric Limited

Copyright (C) 2008, Sunplusmm v1.0.0.0

RAM: 0x00000000-0x00f00000, [0x00200000-0x00f00000] available
Load image from romfs!
Found the image entry point: 0xa08034
== Executing boot script in 0.010 seconds - enter ^C to abort
RedBoot> go -c 0xa08034
+do_go
image sel: 0, image_sel_set: 0
rmvb enable!
Mask interrupts on all channels
ID-CACHE sync and invalidate
set up a temporary context. workspace_end=0x00f00000, entry=0x00a08034
switch context to trampoline. workspace_end=0x00efffb0
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.8spmp8000 ([email protected]) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3
-1ubuntu5) ) #107 PREEMPT Tue Sep 11 19:52:32 MSK 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Letcool N350JP, model: Letcool N350JP handheld game console
bootconsole [earlycon0] enabled
debug: skip boot console de-registration.
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c01de460, node_mem_map c0207000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32512 pages, LIFO batch:7
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc:
  • 0

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: mem=128M root=initrd console=ttyS0,115200 rootdelay=5 logle
vel=8 earlyprintk keep_bootcon=1
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 127796k/127796k available, 3276k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc01b7000 (1724 kB)
.init : 0xc01b7000 - 0xc01ce000 ( 92 kB)
.data : 0xc01ce000 - 0xc01dec40 ( 68 kB)
.bss : 0xc01dec64 - 0xc0206ae4 ( 160 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:112
spmp8000_init_irq start --> OK
spmp8000_init_irq start --> OK
create struct device_node and int ret --> OK
create struct device_node and int ret --> OK
create NP --> OK
create NP --> OK
VIC @c8800000: id 0x00000000, vendor 0x00
VIC: unknown vendor, continuing anyways
VIC @c8802000: id 0x00000000, vendor 0x00
VIC: unknown vendor, continuing anyways
of_node_put -> OK
of_node_put -> OK
LSD clock find - > OK!!!!LSD clock find - > OK!!!!LSD clock run - > OK!!!!LSD cl
ock run - > OK!!!!
Console: colour dummy device 80x30
Calibrating delay loop... 120.72 BogoMIPS (lpj=603648)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x1556d8 - 0x155714
letcool_dt_init start
letcool_dt_init start
letcool_dt_init displ
letcool_dt_init displ
spmp8000-pwm 90000000.pwm: pwm 0 registered
bio: create slab <bio-0> at 0
Switching to clocksource tmrb2
NetWinder Floating Point Emulator V0.97 (double precision)
LCD clock -> OK !!!!!!!!!!!!!!!!!!!!!!
LCD clock -> OK !!!!!!!!!!!!!!!!!!!!!!
spmp8000-adc 9301f000.adc: registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
probe called: device is c01d31fc
Epson S1D13XXX FB Driver
Trying to free nonexistent resource <0000000093000000-0000000093100000>
s1d13xxxfb: probe of s1d13xxxfb.0 failed with error -16
s1d13xxxfb: probe of s1d13xxxfb.0 failed with error -16
Warning: unable to open an initial console.
Waiting 5sec before mounting root device...
List of all partitions:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Backtrace:
[<c0011dbc>] (dump_backtrace+0x0/0x10c) from [<c0151584>] (dump_stack+0x18/0x1c)

r6:c01ca2b4 r5:c7819000 r4:c01defe8
[<c015156c>] (dump_stack+0x0/0x1c) from [<c0151688>] (panic+0x84/0x1b8)
[<c0151604>] (panic+0x0/0x1b8) from [<c01b7ca8>] (mount_block_root+0x24c/0x29c)
r3:00000020 r2:00000000 r1:c7831f64 r0:c01928c8
r7:00008001
[<c01b7a5c>] (mount_block_root+0x0/0x29c) from [<c01b7d4c>] (mount_root+0x54/0x6
c)
[<c01b7cf8>] (mount_root+0x0/0x6c) from [<c01b7e94>] (prepare_namespace+0x130/0x
184)
r5:c01ca2c0 r4:c01dece0
[<c01b7d64>] (prepare_namespace+0x0/0x184) from [<c01b78d4>] (kernel_init+0x100/
0x130)
r5:c01cce8c r4:c01cce8c
[<c01b77d4>] (kernel_init+0x0/0x130) from [<c001e514>] (do_exit+0x0/0x6dc)
r5:c01b77d4 r4:00000000

is flashing a new kernel through FRM & many new things you will see in the log  ;)

beaviz

  • *
  • Posts: 8
Re: Linux on the LetCool Gamestation?
« Reply #50 on: September 14, 2012, 10:31:49 pm »
Really appreciate the work people...
Classically trained

SEA

  • *
  • Posts: 52
Re: Linux on the LetCool Gamestation?
« Reply #51 on: September 14, 2012, 10:56:47 pm »
SANOEND writes:

It is worth noting that at the moment firmware kernel and run through FRM ordinary users as to what All debug messages are still falling in UART.
The screen does not work.
But the opportunity to flash the kernel to do USB and firmware with Linux This is a huge breakthrough. Now we can build the image of the kernel + initrd + rootfs and obschatsya kernel in the console like a normal Linux. Execute commands, load modules, etc.

 

Post a new topic