long read to SH7750_WCR1_A7 (0x000000001f800008) ignored long read to SH7750_WCR2_A7 (0x000000001f80000c) ignored long read to SH7750_WCR3_A7 (0x000000001f800010) ignored long read to SH7750_MCR_A7 (0x000000001f800014) ignored long read to SH7750_MCR_A7 (0x000000001f800014) ignored Linux version 3.18.0 (landley@halfbrick) (gcc version 4.2.1) #1 Mon Mar 9 00:05:09 CDT 2015 Boot params: ... MOUNT_ROOT_RDONLY - 00000000 ... RAMDISK_FLAGS - 00000000 ... ORIG_ROOT_DEV - 00000000 ... LOADER_TYPE - 00000001 ... INITRD_START - 01800000 ... INITRD_SIZE - 00068641 Booting machvec: RTS7751R2D Node 0: start_pfn = 0xc000, low = 0x10000 Zone ranges: Normal [mem 0x0c000000-0x0fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0c000000-0x0fffffff] Initmem setup node 0 [mem 0x0c000000-0x0fffffff] Renesas Technology Sales RTS7751R2D support. FPGA version:1 (revision:0) Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: panic=1 console=ttySC1 noiotrap HOST=sh4 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Sorting __ex_table... PVR=04050005 CVR=00110000 PRR=00000113 I-cache : n_ways=2 n_sets=64 way_incr=2048 I-cache : entry_mask=0x000007e0 alias_mask=0x00000000 n_aliases=0 D-cache : n_ways=2 n_sets=64 way_incr=2048 D-cache : entry_mask=0x000007e0 alias_mask=0x00000000 n_aliases=0 Memory: 61224K/65536K available (2228K kernel code, 148K rwdata, 512K rodata, 116K init, 195K bss, 4308K reserved) virtual kernel memory layout: fixmap : 0xdfff7000 - 0xdffff000 ( 32 kB) vmalloc : 0xc0000000 - 0xdfff5000 ( 511 MB) lowmem : 0x8c000000 - 0x90000000 ( 64 MB) (cached) : 0xa0000000 - 0xc0000000 ( 512 MB) (uncached) .init : 0x8c2e5000 - 0x8c302000 ( 116 kB) .data : 0x8c23e0c8 - 0x8c2e4580 ( 665 kB) .text : 0x8c010000 - 0x8c23e0c8 (2232 kB) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:8 nr_irqs:8 0 intc: Registered controller 'sh7750' with 20 IRQs intc: Registered controller 'sh7750_dma8' with 9 IRQs intc: Registered controller 'sh7750_tmu34' with 2 IRQs intc: Registered controller 'sh7750_pci' with 8 IRQs Using R2D-PLUS interrupt controller. intc: Registered controller 'r2d-plus' with 13 IRQs Console: colour dummy device 80x25 sh-tmu.0: ch0: used for clock events sh-tmu.0: ch0: used for periodic clock events sh-tmu.0: ch1: used as clock source sh-tmu.1: ch0: used for clock events sh-tmu.1: ch1: used as clock source Calibrating delay loop (skipped)... 120.00 BogoMIPS PRESET (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: SH7751R devtmpfs: initialized NET: Registered protocol family 16 PCI: Starting initialization. vgaarb: loaded SCSI subsystem initialized sh_tmu sh-tmu.0: kept as earlytimer sh_tmu sh-tmu.1: kept as earlytimer PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0x1000-0x3fffff] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfdffffff] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] pci 0000:00:02.0: BAR 6: assigned [mem 0xfd000000-0xfd03ffff pref] pci 0000:00:02.0: BAR 0: assigned [io 0x1000-0x10ff] pci 0000:00:02.0: BAR 1: assigned [mem 0xfd040000-0xfd0400ff] Switched to clocksource sh-tmu.0 sh_tmu sh-tmu.0: ch0: used for oneshot clock events NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 Unpacking initramfs... Freeing initrd memory: 416K (8d800000 - 8d868000) futex hash table entries: 256 (order: -1, 3072 bytes) squashfs: version 4.0 (2009/01/31) Phillip Lougher 9p: Installing v9fs 9p2000 file system support msgmni has been set to 120 io scheduler noop registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled SuperH (H)SCI(F) driver initialized sh-sci sh-sci.1: ttySC1 at MMIO 0xffe80000 (irq = 40, base_baud = 0) is a scif console [ttySC1] enabled loop: module loaded sm501 sm501: SM501 At b3e00000: Version 050100a0, 8 Mb, IRQ 100 Uniform Multi-Platform E-IDE driver ide-gd driver 1.18 ide-cd driver 5.00 scsi host0: pata_platform ata1: PATA max PIO0 mmio cmd 0xb4001000 ctl 0xb400080c irq 107 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) 8139cp 0000:00:02.0: enabling device (0000 -> 0003) 8139cp 0000:00:02.0 eth0: RTL-8139C+ at 0xfd040000, 52:54:00:12:34:56, IRQ 112 rtc-r9701 spi0.0: cannot read RTC register TCP: cubic registered NET: Registered protocol family 17 9pnet: Installing 9P2000 support drivers/rtc/hctosys.c: unable to open rtc device (rtc0) Freeing unused kernel memory: 116K (8c2e5000 - 8c302000) 8139cp 0000:00:02.0 eth0: link up, 100Mbps, full-duplex, lpa 0x05E1 Type exit when done. (sh4:1) / # df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 30612 740 29872 3% / dev 30612 0 30612 0% /dev (sh4:1) / # gcc -s /usr/src//tmp/hello /bin/ash: gcc: not found (sh4:1) / # exit reboot: Restarting system Unauthorized access qemu: fatal: Trying to execute code outside RAM or ROM at 0xa0000000 pc=0xa0000000 sr=0x700000f0 pr=0x8c01335c fpscr=0x00080000 spc=0x8c013362 ssr=0x10000000 gbr=0x00473448 vbr=0x8c018000 sgr=0x8fd9be7c dbr=0x00000000 delayed_pc=0x8c01335c fpul=0x00000000 r0=0x400080f1 r1=0x80000001 r2=0x10000000 r3=0x00000001 r4=0x000000f0 r5=0x8c30438c r6=0x00000006 r7=0x8c304440 r8=0x01234567 r9=0x00000000 r10=0xfee1dead r11=0x01234567 r12=0x00000000 r13=0x00000000 r14=0x7bc0ed14 r15=0x8fd9be7c r16=0x00000000 r17=0xffffff0f r18=0x40008000 r19=0x40008000 r20=0x8fd9bdec r21=0x00000000 r22=0x00000000 r23=0x8fd9a000 ./run-emulator.sh: line 7: 17248 Aborted (core dumped) qemu-system-sh4 -M r2d -nographic -no-reboot -kernel linux -initrd rootfs.cpio.gz -append "panic=1 console=ttySC1 noiotrap HOST=sh4 $KERNEL_EXTRA" $QEMU_EXTRA -monitor null -serial null -serial stdio