Skip to content

Instantly share code, notes, and snippets.

@riptidewave93
Created Dec 3, 2022
Embed
What would you like to do?
�XCode NON-USB SOC booting **
N7N
NZZ
Z$8D
D$$D
O$$D
N7Z$N
O$$$D
N$$$$D
OOO8 8O8 N N7$$$N
$ZZZN $Z$ ZD N7$$$D
$Z$ZZN ZZZ N O$8 N7$$$D
7ZZZ$ZN ZZ$N$$7 $$$ D$$$ N7$$$OZZZ NZZOZO OZ8 ND7$$D
$Z$NZZZN ZZ$NZ$$ $ZZ 7$$7 N7$$$Z ZZN $ZDZ$N $$88$Z$8$$Z8
$ZZ N$ZZ ZZ$NZZZ $ZZ 7$$7 $$$$7 Z$$ $$$ 7Z$ $$$DZZN NZZN
$ZZ N$Z$N$$$NZZ$ $ZZ $$$$ D$$$$D $$ 7ZD ZZ $Z8$ZZ Z$7
$ZZ ND$ZZZZ$NZZZ $ZZ Z$$$D$$$$O D$ZDZ$ N 8$ZDZ$ $Z$ NN$Z$
$ZZ NZZ$Z$DZZZ $$Z 8$$$Z$$$$ 7ZZZN $Z$ZN ZZ$ $$7
$ZZ NZ$$$ $ZZ$ZZZ$ZZ D$$$$$$$N DZ$$ NZZZ N O$Z$Z$8
DD8 NO8O O$ZZ8NZZZ N$$$$$$O NZ$ DZZ
$$$$$$N $ZZZ$ Z$Z$$
D7$$$8 $$$N $Z$N
N8ON
U-Boot 1.1.3 (Sep 15 2022 - 10:05:21)
U-Boot code: 1001004 -> 40084bc BSS: -> 80008e1
TEXT_BASE = 0x10400, CFG_UBOOT_SIZE = 0x80000
MALLOC START = 0x100000, STACK TOP = 0xc90404
Meminit version: major 0x32012501 minor 0x67b62a00
EEPROM Type GD25Q16C
read 800 bytes on bank0, read 0 on bank1
read 800 bytes on bank0, read 0 on bank1
Flash: 2 MB
Board_ID: 0x00003201
In: serial
Out: serial
Err: serial
Use GPIO 4 to reset eth0
xcode mmc: 0, xcode mmc: 1
Hit any key to stop autoboot: 0
MMC read: dev # 0, block # 2048, count 8192 ... 8192 blocks read: OK
## Booting image at 03000000 ...
Image Name: Linux-3.12.4_Nuvyyo
Image Type: Arc Linux Kernel Image (gzip compressed)
Data Size: 2812312 Bytes = 2.7 MB
Load Address: 98002000
Entry Point: 98004000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
do_bootm_linux
Setting up clock speed tag with value 500000000
Setting up vmac tag with mac addr XX:XX:XX:XX:XX:XX
Setting up vmac1 tag with mac addr XX:XX:XX:XX:XX:XX
Setting up vmacusb0 tag with mac addr XX:XX:XX:XX:XX:XX
Setting up sata clock tag of clock 7d
Setting up cache tag with icache 1 dcache 1
Setting up serial tag for uart0 with baudrate 115200
Starting kernel = 98004000
[ 0.000000] Linux version 3.12.4_Nuvyyo (mark@jaguar) (gcc version 4.8.4 (ARCompact ISA Linux uClibc toolchain arc-2015.06) ) #257 PREEMPT Thu Sep 15 10:07:02 EDT 2022
[ 0.000000] Board "arc-xcode5" from vixs (Manufacturer)
[ 0.000000] Memory base set via devicetree 0x98002000
[ 0.000000] Memory size set via devicetree 128M
[ 0.000000] Kernel linking base 0x98002000
[ 0.000000] ATAG_HEAD 0088fc00 TAGS 98018d2c
[ 0.000000] Parsing ATAG parameters from bootloader
[ 0.000000] ATAG_CORE: successful parsing
[ 0.000000] ATAG_CMDLINE: command line = root=/dev/mmcblk0p4 rw rootwait
[ 0.000000] ATAG_CLK_SPEED: clock speed = 500000000
[ 0.000000] ATAG_VMAC: vmac address = XX:XX:XX:XX:XX:XX
[ 0.000000] ATAG_VMAC1: vmac address = XX:XX:XX:XX:XX:XX
[ 0.000000] ATAG_VMACUSB0: vmacusb0 address = XX:XX:XX:XX:XX:XX
[ 0.000000] ATAG_SATACLK: 125MHZ
[ 0.000000] ATAG_CACHE: ICACHE status = 0x1
[ 0.000000] ATAG_CACHE: DCACHE status = 0x1
[ 0.000000] ATAG_SERIAL: serial_nr = 0
[ 0.000000] ATAG_SERIAL: serial baudrate = 115200
[ 0.000000]
[ 0.000000] ARC IDENTITY : Family [0x33] Cpu-id [0x6] Chip-id [0xa1]
[ 0.000000] processor : ARC 700
[ 0.000000] CPU speed : 500.00 Mhz
[ 0.000000] Timers : TIMER1 TIMER0
[ 0.000000] Vect Tbl Base : 0x98002000
[ 0.000000] UNCACHED Base : 0xc0000000
[ 0.000000] ARC700 MMU [v2] : 8k PAGE, J-TLB 256 (128x2), uDTLB 8, uITLB 4,
[ 0.000000] I-Cache : (32K) VIPT, 2way set-asc, 32b Line
[ 0.000000] D-Cache : (32K) VIPT, 4way set-asc, 32b Line
[ 0.000000] Extn [700-Base] : norm, barrel-shift, swap, minmax, ext-arith
[ 0.000000] Extn [700-MPY] : 32x32 (ANY Result Reg) MAC MPY: N/A
[ 0.000000] Extn [CCM] : N/A
[ 0.000000] Extn [FPU] : N/A
[ 0.000000] OS ABI [v3] : no-legacy-syscalls
[ 0.000000] PCIE: no device found
[ 0.000000] On node 0 totalpages: 65537
[ 0.000000] free_area_init_node: node 0, pgdat 98553430, node_mem_map 9fdb9000
[ 0.000000] Normal zone: 289 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65537 pages, LIFO batch:15
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65248
[ 0.000000] Kernel command line: root=/dev/mmcblk0p4 rw rootwait
[ 0.000000] PID hash table entries: 2048 (order: 0, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 5, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 4, 131072 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 122600K/524296K available (4529K kernel code, 131K rwdata, 696K rodata, 112K init, 234K bss, 401696K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
[ 0.000000] NR_IRQS:128
[ 0.000000] console [ttyS0] enabled
[ 0.230000] Calibrating delay loop... 249.44 BogoMIPS (lpj=1247232)
[ 0.300000] pid_max: default: 32768 minimum: 301
[ 0.300000] Mount-cache hash table entries: 1024
[ 0.310000] devtmpfs: initialized
[ 0.310000] NET: Registered protocol family 16
[ 0.350000] bio: create slab <bio-0> at 0
[ 0.350000] xcode5-gpio gpio.0: xcode5516-gpio successfully probed
[ 0.360000] SCSI subsystem initialized
[ 0.360000] usbcore: registered new interface driver usbfs
[ 0.360000] usbcore: registered new interface driver hub
[ 0.370000] usbcore: registered new device driver usb
[ 0.370000] pps_core: LinuxPPS API ver. 1 registered
[ 0.380000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.390000] PTP clock support registered
[ 0.400000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.400000] Switched to clocksource ARC Timer1
[ 0.410000] NET: Registered protocol family 2
[ 0.410000] TCP established hash table entries: 4096 (order: 2, 32768 bytes)
[ 0.410000] TCP bind hash table entries: 4096 (order: 1, 16384 bytes)
[ 0.420000] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.420000] TCP: reno registered
[ 0.430000] UDP hash table entries: 512 (order: 0, 8192 bytes)
[ 0.430000] UDP-Lite hash table entries: 512 (order: 0, 8192 bytes)
[ 0.440000] NET: Registered protocol family 1
[ 0.440000] RPC: Registered named UNIX socket transport module.
[ 0.450000] RPC: Registered udp transport module.
[ 0.450000] RPC: Registered tcp transport module.
[ 0.460000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.470000] XCODE_SERIAL_INIT, total ports 1
[ 0.470000] Xcode serial driver version 1.00
[ 0.470000] ttyS0 (irq = 6, address = 0xf000f400) is a builtin ARC UART
[ 0.480000] dbg_buf addr = 0x985601a4
[ 0.510000] fuse init (API version 7.22)
[ 0.520000] msgmni has been set to 239
[ 0.520000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.530000] io scheduler noop registered
[ 0.530000] io scheduler deadline registered
[ 0.540000] io scheduler cfq registered (default)
[ 0.540000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.550000] vfm: initialized, phys=10000000, size=8000000, (262144 512 sectors)
[ 0.560000] SynopGMAC: **********************************************************
[ 0.570000] SynopGMAC: * Driver :This is Synopsys GMAC-UNIV PCI-Network Driver
[ 0.570000] SynopGMAC: * Version :1.0
[ 0.580000] SynopGMAC: * Copyright :Copyright (c) 2007-2007 Synopsys, Inc
[ 0.580000] SynopGMAC: **********************************************************
[ 0.590000] SynopGMAC: Initializing synopsys GMAC interfaces ..
[ 0.630000] SynopGMAC: MAC is configured to MII mode
[ 0.640000] SynopGMAC: Find ethernet phy device:0x02430c54.Phy index:0
[ 0.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.660000] Start: SDUH EHCI device registed to platform bus
[ 0.660000] END: SDUH EHCI device registed to platform bus
[ 0.670000] ehci_sduh_drv_probe: here
[ 0.670000] sduh-ehci sduh-ehci: initializing Xcode3-SOC USB Controller
[ 0.680000] SDUH_HCD_REG_BASE is f0002000
[ 0.680000] sduh-ehci sduh-ehci: Vixs On-Chip EHCI Host Controller
[ 0.690000] sduh-ehci sduh-ehci: new USB bus registered, assigned bus number 1
[ 0.690000] resetting SDUH controller (USBD)
[ 0.700000] resetting SDUH controller
[ 0.710000] reset SDUH controller end
[ 0.710000] phy register setting end
[ 0.710000] enable interrupt mask end
[ 0.720000] try to read ehci cap register
[ 0.720000] try to read ehci params register
[ 0.730000] try to call ehci_halt
[ 0.730000] try to call ehci_init
[ 0.730000] sduh-ehci sduh-ehci: irq 6, io base 0xf0002000
[ 0.760000] sduh-ehci sduh-ehci: USB 2.0 started, EHCI 1.00
[ 0.760000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.760000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.770000] usb usb1: Product: Vixs On-Chip EHCI Host Controller
[ 0.780000] usb usb1: Manufacturer: Linux 3.12.4_Nuvyyo ehci_hcd
[ 0.780000] usb usb1: SerialNumber: sduh-ehci
[ 0.790000] hub 1-0:1.0: USB hub found
[ 0.790000] hub 1-0:1.0: 2 ports detected
[ 0.800000] ehci-pci: EHCI PCI platform driver
[ 0.800000] i2c /dev entries driver
[ 0.800000] xc5_wdt: Xcode Watchdog is ready
[ 0.810000] softdog: Software Watchdog Timer initialized.
[ 0.810000] XCSDH: Host controller version: 0x210a
[ 0.940000] TCP: cubic registered
[ 0.960000] TCP: vegas registered
[ 0.980000] NET: Registered protocol family 17
[[ 1.090000] Waiting for root device /dev/mmcblk0p4...
[ 1.130000] mmc0: BKOPS_EN bit is not set
[ 1.140000] mmc0: new high speed MMC card at address 0001
[ 1.140000] mmcblk0: mmc0:0001 M32508 3.64 GiB
[ 1.150000] mmcblk0boot0: mmc0:0001 M32508 partition 1 4.00 MiB
[ 1.150000] mmcblk0boot1: mmc0:0001 M32508 partition 2 4.00 MiB
[ 1.170000] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 1.180000] mmcblk0boot1: unknown partition table
[ 1.180000] mmcblk0boot0: unknown partition table
[ 1.210000] usb 1-2: new high-speed USB device number 2 using sduh-ehci
[ 1.210000] EXT3-fs (mmcblk0p4): error: couldn't mount because of unsupported optional features (240)
[ 1.220000] EXT2-fs (mmcblk0p4): error: couldn't mount because of unsupported optional features (244)
[ 1.280000] EXT4-fs (mmcblk0p4): recovery complete
[ 1.290000] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[ 1.290000] VFS: Mounted root (ext4 filesystem) on device 179:4.
[ 1.300000] devtmpfs: mounted
[ 1.370000] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 9
[ 1.380000] usb 1-2: New USB device found, idVendor=0bda, idProduct=881a
[ 1.380000] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.390000] usb 1-2: Product: 802.11n NIC
[ 1.390000] usb 1-2: Manufacturer: Realtek
[ 1.390000] usb 1-2: SerialNumber: 123456
starting pid 341, tty '': '/etc/init.d/startup'
[ 3.450000] EXT4-fs (mmcblk0p4): re-mounted. Opts: data=ordered
[ 3.630000] EXT4-fs (mmcblk0p6): recovery complete
[ 3.640000] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 4.060000] usbcore: registered new interface driver rtl8812au
starting pid 400, tty '': '/sbin/swapon -a'
[ 4.220000] Adding 131064k swap on /dev/mmcblk0p3. Priority:-1 extents:1 across:131064k SS
starting pid 401, tty '': '/bin/mkdir -p /var/log/lighttpd'
starting pid 402, tty '': '/bin/chown default:default /var/log/lighttpd'
starting pid 403, tty '': '/bin/ln -s /etc /var/spool/cron'
starting pid 404, tty '': '/etc/init.d/rcS'
route: SIOCDELRT: No such process
Starting leds: OK
Starting vfm: OK
Starting sysctl: OK
Starting hostname: OK
Starting syslog: OK
Starting button: OK
Starting vixs:
Loading Vixs kernel module...
Found module file /lib/modules/xcode5drv.ko
[ 4.980000] pXcode->dev_reset : 1
[ 5.840000] Boxster, XCode (R) Driver Version 6.4.0.15, built at Sep 15 2022 10:07:42
Loaded xcode5 driver module /lib/modules/xcode5drv
Created directory /dev/vixs
Created device node /dev/vixs/xcode5drv
Config TSD Success
OK
Initialize tuners: OK
Starting urandom: OK
Starting usb: [ 13.460000] usbcore: registered new interface driver usb-storage
OK
Starting wifi (setup): OK
Starting network:
[ 19.160000] SynopGMAC: take 5000 ms to auto-negotiation
[ 19.160000] SynopGMAC: Link down
[ 19.160000] SynopGMAC: enable HW checksum
[ 19.160000] SynopGMAC: enable TCP segmentation offload
[ 20.170000] Link down: eth0
Bringing up Wifi...
Successfully initialized wpa_supplicant
nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory)
[ 43.450000] SynopGMAC: synopGMAC_linux_close
OK
Starting telnetd: OK
/etc/init.d/rcS: line 45: /etc/init.d/S41rrs: Permission denied
Starting ntpclient: OK
Starting nptd: OK
Starting lighttpd: OK
Starting pvr: [ 45.700000] EXT4-fs (mmcblk0p7): recovery complete
[ 45.700000] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
OK
Starting hotplug: OK
Starting iperf: OK
Starting server (setup): OK
Starting cron: OK
Starting vmtouch: OK
Starting atd: OK
Starting respawn: OK
starting pid 956, tty '': '/bin/touch /var/log/messages'
starting pid 957, tty '/dev/ttyS0': '/bin/sh'
starting pid 958, tty '': '/sbin/watchdog -t 5 -T 10 -F /dev/watchdog0'
starting pid 959, tty '': '/sbin/watchdog -t 5 -T 10 -F /dev/watchdog1'
starting pid 960, tty '': '/tmp/slip/bin/nv_bongour -a'
starting pid 961, tty '': '/tmp/slip/bin/nv_reset_poll'
starting pid 962, tty '': '/tmp/slip/bin/slip -d 4'
db_objects.cpp:159: SlipDB() DBUtil::SlipDB pid 962 this=0x221da4 now Fri Nov 25 00:25:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment