[Letux-kernel] [OpenOCD-devel] [PATCH]: d86217d board: add Skytone Alpha 400

H. Nikolaus Schaller hns at goldelico.com
Thu Nov 19 09:52:23 CET 2020


> Am 18.11.2020 um 19:51 schrieb Lubomir Rintel <lkundrak at v3.sk>:
> 
> 
> Thank you.
> 
> Here you go: https://projects.goldelico.com/p/letux400/page/JtagFlash/

Thanks!

>>>> 
>> 
>> So you are making me curious and tempting to play with the L400 (and JTAG).

I have checked again the units and
- the one without Picoblade and no battery did boot from power supply only but I can not see the console without disassembly
- the first with Picoblade connector (and no battery) does not boot and the red charging indicator only flickers when powering
- finally the second unit with Picoblade connector didn't want to boot either, but after unplugging and removing the (dead) battery it did boot! And I got a boot console log. Nice :)

So this is finally a machine where I can experiment with, without relying on JTAG.

I think I just should bake an SD card through our makesd script, install a new kernel with appended DTB and try to boot with Shift+Fn.

So I finally have a setup for doing some kernel tests and development...

BR and thanks,
Nikolaus


NAND SPL

Starting U-Boot ...


U-Boot 1.1.6 (Jun 24 2008 - 18:57:34)

Board: Ingenic PMP Ver 1.x (CPU Speed 335 MHz)
DRAM:  64 MB
Flash:  0 kB
NAND:1024 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   JZ ETHERNET
### main_loop: bootcmd="nboot 0x80600000 0 0x100000;bootm"
Hit any key to stop autoboot:  0 

Loading from NAND 1GiB 3,3V 8-bit, offset 0x100000
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    1031682 Bytes = 1007.5 kB
   Load Address: 80100000
   Entry Point:  8031a040
## Booting image at 80600000 ...
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    1031682 Bytes = 1007.5 kB
   Load Address: 80100000
   Entry Point:  8031a040
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

CPU revision is: 02d0024f
ICACHE waybit = 12, DCACHE waybit = 12 
Primary instruction cache 16kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB 4-way, linesize 32 bytes.
Linux version 2.4.20-celf3 (root at 128-server) (gcc version 3.3.1) #1 Fri Sep 5 21:48:01 HKT 2008
System clock setup: iclk=335MHZ sclk=112MHZ mclk=112MHZ pclk=112MHZ
Determined physical RAM map:
 memory: 00000040 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 08000000 @ 00000000 (usable)
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: mem=128M console=ttyS0,115200n8 root=/dev/ssfdca1 rw noatime
**********start=0
Console: colour dummy device 80x25
Calibrating delay loop... 335.05 BogoMIPS
Use 'Preset loops_per_jiffy'=1675264 for preset lpj.
Memory: 125620k/131072k available (2138k kernel code, 5452k reserved, 120k data, 464k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
yaffs Sep  5 2008 21:49:48 Installing. 
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
LCDC: PixClock:27955200 LcdClock:111820800
Console: switching to colour frame buffer device 100x30
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xb0030000 (irq = 9) is a Jz UART
ttyS01 at 0xb0031000 (irq = 8) is a Jz UART
ttyS02 at 0xb0032000 (irq = 7) is a Jz UART
ttyS03 at 0xb0033000 (irq = 6) is a Jz UART
PCF8563 RTC installed !!!
Setup MiniPC Power button.
JzSOC: char device family.
Power Failure handling supported.
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
WARNING:There is not MAC address in HCI or command line! Manually set it ..
eth0: JzSOC On-chip Ethernet,MAC ADDR:00:21:4d:00:00:01, IRQ 19
eth0:Find 1 PHY (16) from MAC.
STRIP: Version 1.3-STUART.CHESHIRE (unlimited channels)
JzSOC SSI bus registered
---> ak4642en initialization!
JzSOC On-Chip I2S controller registered (DAC: DMA(play):0/IRQ32,
 ADC: DMA(record):1/IRQ33)
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Creating 5 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x00000000-0x00100000 : "bootloader partition"
0x00100000-0x00400000 : "kernel partition"
0x00400000-0x00500000 : "mac partition"
0x00500000-0x00a00000 : "mini rootfs partition"
0x00a00000-0x40000000 : "yaffs2 rootfs partition"
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Creating 1 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x00000000-0x40000000 : "extend 1G flash"
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xb3030000, IRQ 13
usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: b3030000
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
DPM syscall already taken, system call #-42 disabled.
JZ MMC/SD driver registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
(eth0) Ethernet Module AutoNegotiation failed!
eth0: Provide Mode All: (1)10BaseT-HD (2)10BaseT-FD (3)100baseTx-HD (4)100baseTx-FD

IP-Config: Incomplete network configuration information.
eth0 closed! Bye,see you late!
Jz Dynamic Power Management
apm: Simulating APM BIOS version 1.2 (Driver version 1.0)
hub.c: USB new device connect on bus1, assigned device number 2
Manufacturer: ALCOR
Product: Generic USB Hub
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: USB new device connect on bus1, assigned device number 3
Manufacturer: CHESEN
Product: PS2 to USB Converter
input2: USB HID v1.10 Keyboard [CHESEN PS2 to USB Converter] on usb1:3.0
input3: USB HID v1.10 Mouse [CHESEN PS2 to USB Converter] on usb1:3.1
hub.c: USB new device connect on bus1, assigned device number 4
Manufacturer: ZyDAS
Product: USB2.0 WLAN
usb.c: USB device 4 (vend/prod 0xace/0x1215) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 2.00
  Vendor:Product      = 0ace:1215
  MaxPacketSize0      = 64
  NumConfigurations   = 1
  Device version      = 48.10
  Device Class:SubClass:Protocol = ff:ff:ff
    Vendor class
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 002e
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  500mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   04
    bInterface Class:SubClass:Protocol =   ff:00:00
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   01 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   82 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0040
      bInterval           =   01
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   04 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
+++++mount rootfs type=ext3++++
mtdblock_block_info_map_bad_block: bad_block=1
mtdblock_block_info_map_bad_block: bad_block=2
mtdblock_block_info_map_bad_block: bad_block=3
mtdblock_block_info_map_bad_block: bad_block=4
mtdblock_block_info_map_bad_block: bad_block=5
mtdblock_block_info_map_bad_block: bad_block=6
mtdblock_block_info_map_bad_block: bad_block=7
mtdblock_block_info_map_bad_block: bad_block=8
+++++mount rootfs type=yaffs++++
mtdblock_block_info_map_bad_block: bad_block=1
mtdblock_block_info_map_bad_block: bad_block=2
mtdblock_block_info_map_bad_block: bad_block=3
mtdblock_block_info_map_bad_block: bad_block=4
mtdblock_block_info_map_bad_block: bad_block=5
mtdblock_block_info_map_bad_block: bad_block=6
mtdblock_block_info_map_bad_block: bad_block=7
mtdblock_block_info_map_bad_block: bad_block=8
yaffs: dev is 7940 name is "1f:04"
yaffs: Attempting MTD mount on 31.4, "1f:04"
yaffs: auto selecting yaffs2
block 466 is bad
block 578 is bad
block 807 is bad
block 1849 is bad
block 3979 is bad
block 5032 is bad
block 7093 is bad
block 7350 is bad
root dev name=1f:04
VFS: Mounted root (yaffs filesystem).
Freeing unused kernel memory: 464k freed
**************kernel boot end=18 s
Algorithmics/MIPS FPU Emulator v1.5
*****start rcS file*****
rm: cannot remove '.' or '..'
rm: cannot remove '.' or '..'
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
mtdblock_block_info_map_bad_block: bad_block=1
mtdblock_block_info_map_bad_block: bad_block=2
mtdblock_block_info_map_bad_block: bad_block=3
mtdblock_block_info_map_bad_block: bad_block=4
yaffs: dev is 7941 name is "1f:05"
yaffs: Attempting MTD mount on 31.5, "1f:05"
yaffs: restored from checkpoint
/
SCSI subsystem driver Revision: 1.00
loop: loaded (max 8 devices)
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 296 bytes per conntrack
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for cp2101
cp2101.c: Silicon Labs CP2101/CP2102 RS232 serial adaptor driver v0.07
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
Warning: loading dm9601 will taint the kernel: no licensdm9601.c: dm9601.c: v0.0.6 2001/05/24 (C) 1999-2000 Petko Manolov (petkan at dce.bg)
e
  See http://usb.c: registered new driver dm9601
www.tux.org/lkml/#export-tainted for information about tainted modules

 _____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
 / /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.16.0.0
usb.c: registered new driver zd1211b
vendor_id = 0ace
product_id = 1215
USB 1.1 Host
Release Ver = 4810
EEPORM Ver = 4810
Finsih download Firmware. Ready to reboot 
PA type: 0
UW2453 RF
AllowedChannel = 000107ff
Region:16
Tue May 15 20:30:00 UTC 2007

Please press Enter to activate this console. 
/ $ RadioOn
RadioOn
/ $ uname -a
Linux (none) 2.4.20-celf3 #1 Fri Sep 5 21:48:01 HKT 2008 mips unknown
/ $ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/nand              1038336    341468    696868  33% /
/dev/nand2             1048576      2560   1046016   0% /mnt/nandflash2
/ $
hub.c: USB new device connect on bus1, assigned device number 5
Manufacturer:  USB
Product:  SanDisk 3.2Gen1
SerialNumber: 0101797d670d7b58e678027330e931f9b09e9d751c7bea69df5555a6ee6234235b5000000000000000000000084451b5ff8b25008155810786a82939
+++++ DEBUG, CZJ ++++
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor:  USB      Model:  SanDisk 3.2Gen1  Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 240353280 512-byte hdwr sectors (123061 MB)
sda: Write Protect is off
Partition check:
 sda: sda1
EXT3-fs: Unrecognized mount option utf8
yaffs: dev is 2049 name is "08:01"
yaffs: Attempting MTD mount on 8.1, "08:01"
yaffs: dev is 2049 name is "08:01"
yaffs: Attempting MTD mount on 8.1, "08:01"
/ $ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/nand              1038336    341476    696860  33% /
/dev/nand2             1048576      2560   1046016   0% /mnt/nandflash2
/dev/sda1            120147264     14112 120133152   0% /USB/USB_1
/ $ 



More information about the Letux-kernel mailing list