|
Post by jj0 on Nov 8, 2020 10:18:20 GMT
The Mini's source was requested by swingflip by sending a ÂŁ5 note and it was delivered on a CD-ROM.
If you do request the source you could add that they are obliged to provide the full actual source for the uboot and kernel and the associated configuration files that should enable you to compile and reproduce the system. Specifically for uboot and kernel this should include the actual nand driver used. I'm saying this because for the source they provided for the Mini the uboot does not compile (due to nand driver parts missing) and the nand driver module included with the kernel source is provably different and incompatible from the one they actually use on the Mini.
|
|
|
Post by spannernick on Nov 10, 2020 14:57:44 GMT
All 3 Carousels(THEC64 Mini/Maxi and THE VIC 20) all come from the same source code, you can see that when you look at each of there the64 file in HxD they all point to the same folder inside it, you see the folder name that the source code is kept in.
The Carousel v1.3.2 build folder...
THE VIC 20 (The Carousel v1.4.1 build folder...
There all based on the same build.
|
|
|
Post by grasshopper on Nov 16, 2020 22:31:54 GMT
Hi, just a quick update:
I emailed RGL last week (through their web form) to query whether their source code package includes the source code for the nand driver, kernel, and uboot. So far, I've not had a response.
I've also posted a cheque and covering letter to them today requesting the source code. In my letter, I specifically asked them to include the source code for the nand driver, kernel, and uboot.
I'll let you know once I get a response.
|
|
|
Post by spannernick on Nov 16, 2020 23:44:07 GMT
Thanks..
|
|
|
Post by jj0 on Nov 17, 2020 8:26:46 GMT
Cool, it will be interesting to see what they provide.
|
|
|
Post by kolla on Apr 17, 2022 12:05:31 GMT
So how did it go?
|
|
|
Post by kjetilf on Feb 13, 2023 10:16:53 GMT
Hi! i don't have a lot of knowledge on this subject, so I figure I might as well just ask here.
I recently managed to backup the pre-installed games from Retro-bits Super Retro-Cade using USB to UART. Didn't even have to solder anything. Just plugged the male jumper cables into the correct holes on the board.
Is it possible to do something similar with the C64 Mini? Do I need to install the PCUAE for it to work, or will this work on a stock TheC64 Mini as well? If I have a correctly formatted USB stick and connected the Mini with PuTTY, what would the correct commands be to backup everything to my USB?
|
|
|
Post by birdog on May 7, 2023 13:20:25 GMT
Hello
Firstly, thanks to Mr spannernick for the excelent guide.
I`m new here, I have a A500 mini that outputs nothing to the HDMI. I have hooked into the port close to the USB connectors and am using a raspberry pi with putty to communicate.
When I connect power a lot happens but it ends with this and then it hangs, wont take any inputs:
2.520000] [<ffffffc000083dbc>] el1_irq+0x7c/0xe4 [ 2.520000] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 2.520000] Code: f0003720 9113e021 913f4000 91052000 (f873d821) [ 2.520000] ---[ end trace bd2fd4c7840f8ce3 ]--- [ 2.520000] Kernel panic - not syncing: Fatal exception in interrupt [ 4.712899] CPU2: stopping [ 4.715866] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D O 3.10.65 #32
and then a short time later: 4.722897] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 4.722897] [<ffffffc000528368>] rest_init+0xa8/0xbc [ 4.722897] [<ffffffc0007967bc>] start_kernel+0x354/0x36c [ 2.520000] SMP: failed to stop secondary CPUs
When I boot following the instructions on page 1 I get this:
redquark-six#usb reset;fatload usb 0 4007f800 A500-nanda-ramfs-enabled (Re)start USB... USB0: start sunxi ehci0... config usb pin success config usb clk ok sunxi ehci0 init ok... USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found reading A500-nanda-ramfs-enabled 13316096 bytes read in 863 ms (14.7 MiB/s) redquark-six# redquark-six#setenv bootargs console=ttyS0,115200 root=/dev/nandb init=/init log level=9 mem=512M ramfs redquark-six# redquark-six#boota 4007f800 Android's image name: sun50i_arm64
And it seems quite happy for a while until?
[ 24.030000] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 24.030000] ---[ end trace 6f698b6bbeb67535 ]--- [ 24.030000] cpu_reset_status = 0x0. next_cpu = 0x3 [ 24.030000] set cpu_reset_status = 0xc. next_cpu = 0x3 [ 24.030000] NMI watchdog: gicd_base = 0xffffff800000c000. [ 24.030000] NMI watchdog: gicc_base = 0xffffff800000e000.
Feels like the ARM chip is faulty, what do you think ? I have a Pi3 that I believe uses the same chip, and I have never swapped a cpu.
Cheers for any help
|
|
|
Post by jj0 on May 7, 2023 19:23:49 GMT
Hello Firstly, thanks to Mr spannernick for the excelent guide. I`m new here, I have a A500 mini that outputs nothing to the HDMI. I have hooked into the port close to the USB connectors and am using a raspberry pi with putty to communicate. When I connect power a lot happens but it ends with this and then it hangs, wont take any inputs: 2.520000] [<ffffffc000083dbc>] el1_irq+0x7c/0xe4 [ 2.520000] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 2.520000] Code: f0003720 9113e021 913f4000 91052000 (f873d821) [ 2.520000] ---[ end trace bd2fd4c7840f8ce3 ]--- [ 2.520000] Kernel panic - not syncing: Fatal exception in interrupt [ 4.712899] CPU2: stopping [ 4.715866] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D O 3.10.65 #32 and then a short time later: 4.722897] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 4.722897] [<ffffffc000528368>] rest_init+0xa8/0xbc [ 4.722897] [<ffffffc0007967bc>] start_kernel+0x354/0x36c [ 2.520000] SMP: failed to stop secondary CPUs When I boot following the instructions on page 1 I get this: redquark-six#usb reset;fatload usb 0 4007f800 A500-nanda-ramfs-enabled (Re)start USB... USB0: start sunxi ehci0... config usb pin success config usb clk ok sunxi ehci0 init ok... USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found reading A500-nanda-ramfs-enabled 13316096 bytes read in 863 ms (14.7 MiB/s) redquark-six# redquark-six#setenv bootargs console=ttyS0,115200 root=/dev/nandb init=/init log level=9 mem=512M ramfs redquark-six# redquark-six#boota 4007f800 Android's image name: sun50i_arm64 And it seems quite happy for a while until? [ 24.030000] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 24.030000] ---[ end trace 6f698b6bbeb67535 ]--- [ 24.030000] cpu_reset_status = 0x0. next_cpu = 0x3 [ 24.030000] set cpu_reset_status = 0xc. next_cpu = 0x3 [ 24.030000] NMI watchdog: gicd_base = 0xffffff800000c000. [ 24.030000] NMI watchdog: gicc_base = 0xffffff800000e000. Feels like the ARM chip is faulty, what do you think ? I have a Pi3 that I believe uses the same chip, and I have never swapped a cpu. Cheers for any help It's hard to say, can you show more of the kernel messages or is this all you see? I would guess it's more likely that the RAM is failing rather than the CPU/SoC. Note it's not the same CPU/SoC as the Pi 3, that one is Broadcom BCM2837 and the one in THEA500 is an Allwinner H6. You could also try a different powersupply.
|
|
|
Post by birdog on May 8, 2023 9:38:02 GMT
Morning. yeah I popped the heatsink off the Pi 3 and see its different so I`ll not be trying that. I have tried a few different USB supplies, all gave the same results.
Below is the complete grab:
[430]HELLO! BOOT0 is starting! [434]boot0 commit : 661185b17e906e5a6492dbf8deec120021180062
[441]key press : s [444]PL0 cfg: 0x77777771 [447]PL0 data: 0x00000000 [450]set pll start [453]set pll end [455]rtc[0] value = 0x00000000 [458]rtc[1] value = 0x00000000 [461]rtc[2] value = 0xf4f4000f [464]rtc[3] value = 0x0000b00f [467]rtc[4] value = 0x00000000 [470]rtc[5] value = 0x00000000 [473]DRAM VERSION IS V2_76 [476]DRAM CLK =924 MHZ [478]DRAM Type =3 (3:DDR3,4:DDR4,6:LPDDR2,7:LPDDR3) [483]DRAM zq value: 003b3bfb [787]IPRD=005f005f--PGCR0=00000f7d--PLL=b0004c00 [792]Actual DRAM SIZE =512 M [795]DRAM SIZE =512 M,para1 = 000030ea,para2 = 02000000 [807]DRAM simple test OK. [809]dram size =512 [812]boot0 Nand0 clk: 10MHz,PERI=1200,N=8,M=15,T=10 [817]boot0 Nand Ecc clk: 20MHz,PERI=1200,N=4,M=15,T=20 [823]NB0 : nand phy init ok [826]block from 4 to 57 [829]nand block 4 is bad [832]nand block 5 is bad [835]nand block 6 is bad [838]nand block 7 is bad [842]current block is 8 and last block is 57. [887]current block is 9 and last block is 57. [933]current block is 10 and last block is 57. [978]current block is 11 and last block is 57. [1024]current block is 12 and last block is 57. [1070]current block is 13 and last block is 57. [1116]current block is 14 and last block is 57. [1161]current block is 15 and last block is 57. [1207]current block is 16 and last block is 57. [1253]current block is 17 and last block is 57. [1321]The file stored in start block %u is perfect. [1326]Entry_name = u-boot [1336]Entry_name = parameter [1339]Entry_name = monitor [1343]Entry_name = scp [1352]set arisc reset to de-assert state [1356]Entry_name = soc-cfg [1360]Entry_name = dtb [1364]Entry_name = board-cfg [1367]Entry_name = board-fex [1370]Entry_name = esm-img [1375]Ready to disable icache. INFO: Configuring SPC Controller NOTICE: BL3-1: v1.0(debug):44419c5 NOTICE: BL3-1: Built : 14:40:23, Sep 27 2018 NOTICE: BL3-1 commit: 44419c5ca2c8946bc597bbd0ae5ce3e5a68529c2
INFO: BL3-1: Initializing runtime services ERROR: Error initializing runtime service tspd_fast INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x4a000000 INFO: BL3-1: Next image spsr = 0x1d3
U-Boot 2014.07 (Nov 08 2021 - 20:09:06) Allwinner Tech
uboot commit : 8 secure enable bit: 0 normal mode: with secure monitor I2C: ready [1.426]pmbus: ready u0:10000260 [1.426][ARISC] :arisc initialize [1.451][ARISC] :arisc para ok [SCP] :sunxi-arisc driver begin startup 2 [SCP] :arisc version: [0.4.19] [SCP] :sunxi-arisc driver v1.10 is starting [1.464][ARISC] :sunxi-arisc driver startup succeeded set pc_bias(1) bias:1800 set pg_bias(5) bias:1800 probe axp is dummy [1.465]PMU: cpux 1320 Mhz,AXI=440 Mhz PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz MBus=400Mhz DRAM: 512 MiB [1.467]fdt addr: 0x5e6cdaa0 [1.467]gd->fdt_size: 0x191e0 Relocation Offset is: 15df0000 gic: sec monitor mode [box standby] read rtc = 0xf4f4000f [box standby] start_type = 0x0 [box standby] to kernel ir boot recovery not used [1.519][key recovery] no key press. [1.519]power on cpu1 [1.519][cpu1]task entry [cpu1]no pmu exist [1.519][cpu1]PowerBus = 0( 2:vBus 3:acBus other: not exist) [1.519][cpu1]no battery exist [cpu1]advert_enable not set ret(0) advert_enable(0) [1.529]power on cpu2 workmode = 0,storage type = 0 [1.529]NAND: NAND_UbootInit [1.529]NAND_UbootInit start [1.529]NB1: enter NAND_LogicInit [1.529][cpu2]task entry [1.533][cpu2]ready to work [cpu2]bmp lzma decode err [1.537][cpu2]cpu 2 enter wfi mode [1.541]uboot: nand version: 3 6015 20190312 17191410 [1.546]not burn nand partition table! [1.549]NB1: nftl num: 1 [1.551]init nftl: 0 [1.587][cpu1]cpu 1 enter wfi mode [2.223][NE]not power on gc 174! [2.223]NB1: NAND_LogicInit ok, result = 0x0 [2.223]NAND_UbootInit end: 0x0 [2.223]sunxi flash init ok used mbr [0], count = 3 [2.224]try to burn key fail to find part named env Using default environment
--------fastboot partitions-------- -total partitions:3- -name- -start- -size- boot : 1000000 1000000 rootfs : 2000000 b800000 UDISK : d800000 0 ----------------------------------- [2.245][mmc]: MMC Device 2 not found [2.248]base bootcmd=run setargs_nand boot_normal [2.252]bootcmd set setargs_nand no misc partition is found [2.258]to be run cmd=run setargs_nand boot_normal have not burned wifi_mac in efuse have not burned mac in efuse get secure storage map err check user data form private the private part isn't exist [2.277](sunxi):update dtb dram start [2.281]update dtb dram end serial is: 00000000000000000000 [2.284]inter uboot shell Hit any key to stop autoboot: 0
redquark-six#sssssssssssssssssssssssssssssssssssssssssssssss Unknown command 'sssssssssssssssssssssssssssssssssssssssssssssss' - try 'help' redquark-six# Unknown command 'sssssssssssssssssssssssssssssssssssssssssssssss' - try 'help' redquark-six#usb reset;fatload usb 0 4007f800 A500-nanda-ramfs-enabled (Re)start USB... USB0: start sunxi ehci0... config usb pin success config usb clk ok sunxi ehci0 init ok... USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found reading A500-nanda-ramfs-enabled 13316096 bytes read in 863 ms (14.7 MiB/s) redquark-six# redquark-six#setenv bootargs console=ttyS0,115200 root=/dev/nandb init=/init log level=9 mem=512M ramfs redquark-six# redquark-six#boota 4007f800 Android's image name: sun50i_arm64 Kernel load addr 0x40080000 size 9197 KiB RAM disk load addr 0x41000000 size 3803 KiB [32.403]ready to boot [32.403]check cpu power status [32.403]cpu2 has poweroff [32.403]cpu1 has poweroff [32.403]prepare for kernel [32.403]check cpu power status [32.403]cpu2 has poweroff [32.405]cpu1 has poweroff NAND_UbootExit [32.408]NB1: NAND_LogicExit [32.411] Starting kernel ...
INFO: BL3-1: Next image address = 0x40080000 INFO: BL3-1: Next image spsr = 0x3c5 [ 0.061219] [DISP]disp_module_init [ 0.061219] [DISP] disp_boot_para_parse,line:686:of_property_read disp.init_d isp fail [ 0.061219] [DISP] init_disp:0x0 [ 0.061219] [DISP] boot_disp:0x0 [ 0.062019] [DISP] fb_init: num_screens: 2 [ 0.062024] [DISP] fb_base:0x0 [ 0.063832] [DISP] Fb_copy_boot_fb,line:1106:no boot_fb0 [ 0.063840] [DISP] var_to_disp_fb: bits_per_pixel(32), nonstd(0) [ 0.070238] [DISP]disp_module_init finish [ 0.070554] acx00_detect, l:382, twi_id:3, adapter->nr:0 [ 0.070554] acx00_detect, l:382, twi_id:3, adapter->nr:3 [ 0.070554] acx00_i2c_probe,l:264 [ 0.070554] acx00_init_work,l:127 [ 0.071367] sunxi budget cooling probe start ! [ 0.071367] CPU freq cooling register Success [ 0.071367] CPU hotplug cooling register Success [ 0.071367] CPU budget cooling register Success [ 0.071367] __sid_efuse_key_is_readable()744 - The key thermal_sensor write p rotect bit not burned! [ 0.071367] write_efuse_to_reg_ver_3:getting efuse data bit out of 12-bit lim it [ 0.071367] Switching to clocksource arch_sys_counter [ 0.076922] FS-Cache: Loaded [ 0.087560] [ddrfreq] disabled, but continue to get freq! [ 0.087770] devfreq dramfreq: Couldn't update frequency transition informatio n. [ 0.087796] sunxi_dramfreq_irq_mask_control: the key master doesn't exit [ 0.087912] NET: Registered protocol family 1 [ 0.088172] Unpacking initramfs... [ 0.190716] acx00_init_work,l:134 [ 0.241499] Freeing initrd memory: 3800K (ffffffc001000000 - ffffffc0013b6000 ) [ 0.241806] hw perfevents: Failed to parse /pmu/interrupt-affinity[0] [ 0.242042] lock super standby defaultly! [ 0.242051] lookup_scene_lock_name: new scene lock super_standby [ 0.242055] scene_lock_init name=super_standby [ 0.242060] scene_lock: super_standby, type 5, count 1 [ 0.249162] NTFS driver 2.1.30 [Flags: R/O]. [ 0.249382] msgmni has been set to 974 [ 0.250106] io scheduler noop registered [ 0.250112] io scheduler deadline registered [ 0.250231] io scheduler cfq registered (default) [ 0.250686] [pm]aw_pm_init! [ 0.250790] np name = /soc@03000000/rtc@07000000. [ 0.250796] base = ffffff8001ba6100, len = 8. [ 0.250857] pmu name: pmic0 . [ 0.250905] Warning: can not find np for pmic0. [ 0.250909] pmu name: pmic1 . [ 0.250930] Warning: can not find np for pmic1. [ 0.251009] add_sys_pwr_dm: get ldo name for id: vdd-cpus failed [ 0.251016] add_sys_pwr_dm: get ldo name for id: vcc-lpddr failed [ 0.251041] add_sys_pwr_dm: axpdummy_ldo4 ldo already alwayson. [ 0.251048] add_sys_pwr_dm: get ldo name for id: vcc-ldoin failed [ 0.251069] add_sys_pwr_dm: axpdummy_ldo7 ldo already alwayson. [ 0.251073] after inited: sys_mask config = 0x84a15. [ 0.251095] Warning: can not find np for dynamic_standby_para. [ 0.251215] [pm]valid [ 0.251218] [pm]valid [ 0.251222] Notice: sun9i & sun8iw5 & sun50i not need support normal standby, change to super standby. [ 0.251507] sunxi_bootup_extend_probe: bootup extend state 1 [ 0.251511] bootup extend probe ok [ 0.251777] failed to get easy_light_used assign [ 0.251782] failed to get normal led pin assign [ 0.251786] failed to get standby led pin assign [ 0.251789] failed to get standby led pin assign [ 0.251812] gpio_pin_1(359) gpio_is_valid [ 0.251946] gpio_pin_2(356) gpio_is_valid [ 0.252051] gpio_pin_3(361) gpio_is_valid [ 0.252191] gpio name is PL7, ret = 0 [ 0.252304] gpio name is PL4, ret = 0 [ 0.252409] gpio name is PL9, ret = 0 [ 0.252554] gpio_init finish with uesd [ 0.253161] sw_uart_probe()1456 - uart0 error to get bt property [ 0.253193] uart0: ttyS0 at MMIO 0x5000000 (irq = 32) is a SUNXI [ 0.253208] sw_console_setup()1277 - console setup baud 115200 parity n bits 8, flow n [ 0.633102] console [ttyS0] enabled [ 0.637534] uart1: ttyS1 at MMIO 0x5000400 (irq = 33) is a SUNXI [ 0.645175] misc dump reg init [ 0.651380] loop: module loaded [ 0.654838] Boot type 0 [ 0.657875] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.665353] get ehci0-controller, regulator_io is no nocare [ 0.671624] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi _ehci: 0xffffffc0009d32e8, 0x:ffffff8001bae000, irq_no:38 [ 0.685140] sunxi-ehci 5101000.ehci0-controller: SW USB2.0 'Enhanced' Host Co ntroller (EHCI) Driver [ 0.695253] sunxi-ehci 5101000.ehci0-controller: new USB bus registered, assi gned bus number 1 [ 0.705185] sunxi-ehci 5101000.ehci0-controller: irq 56, io mem 0xffffffc0005 bbc60 [ 0.730020] sunxi-ehci 5101000.ehci0-controller: USB 0.0 started, EHCI 1.00 [ 0.737710] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.745415] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 0.753473] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Dr iver [ 0.761818] usb usb1: Manufacturer: Linux 3.10.65 ehci_hcd [ 0.767834] usb usb1: SerialNumber: sunxi-ehci [ 0.800121] hub 1-0:1.0: USB hub found [ 0.804237] hub 1-0:1.0: 1 port detected [ 0.808775] get ehci3-controller, regulator_io is no nocare [ 0.815170] [sunxi-ehci3]: probe, pdev->name: 5311000.ehci3-controller, sunxi _ehci: 0xffffffc0009d3cc0, 0x:ffffff8001bb6000, irq_no:3c [ 0.828689] sunxi-ehci 5311000.ehci3-controller: SW USB2.0 'Enhanced' Host Co ntroller (EHCI) Driver [ 0.838799] sunxi-ehci 5311000.ehci3-controller: new USB bus registered, assi gned bus number 2 [ 0.848607] sunxi-ehci 5311000.ehci3-controller: irq 60, io mem 0xffffffc0005 bbc60 [ 0.870019] sunxi-ehci 5311000.ehci3-controller: USB 0.0 started, EHCI 1.00 [ 0.877683] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.885374] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 0.893428] usb usb2: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Dr iver [ 0.901820] usb usb2: Manufacturer: Linux 3.10.65 ehci_hcd [ 0.907833] usb usb2: SerialNumber: sunxi-ehci [ 0.940122] hub 2-0:1.0: USB hub found [ 0.944234] hub 2-0:1.0: 1 port detected [ 0.949035] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.956079] get ohci0-controller, regulator_io is no nocare [ 0.962400] hci: request ohci0-controller gpio:357 [ 0.967678] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi _ohci: 0xffffffc0009d25c8 [ 0.978184] sunxi-ohci 5101000.ohci0-controller: SW USB2.0 'Open' Host Contro ller (OHCI) Driver [ 0.987897] sunxi-ohci 5101000.ohci0-controller: new USB bus registered, assi gned bus number 3 [ 0.997513] sunxi-ohci 5101000.ohci0-controller: irq 57, io mem 0xffffffc01db 17810 [ 1.020028] usb 1-1: new high-speed USB device number 2 using sunxi-ehci [ 1.063992] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.071628] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 1.079544] usb usb3: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.087628] usb usb3: Manufacturer: Linux 3.10.65 ohci_hcd [ 1.093736] usb usb3: SerialNumber: sunxi-ohci [ 1.120120] hub 3-0:1.0: USB hub found [ 1.124227] hub 3-0:1.0: 1 port detected [ 1.128737] get ohci3-controller, regulator_io is no nocare [ 1.135146] [sunxi-ohci3]: probe, pdev->name: 5311000.ohci3-controller, sunxi _ohci: 0xffffffc0009d2fa0 [ 1.145565] sunxi-ohci 5311000.ohci3-controller: SW USB2.0 'Open' Host Contro ller (OHCI) Driver [ 1.155277] sunxi-ohci 5311000.ohci3-controller: new USB bus registered, assi gned bus number 4 [ 1.164912] sunxi-ohci 5311000.ohci3-controller: irq 61, io mem 0xffffffc01db 64410 [ 1.233989] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.241623] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 1.249545] usb usb4: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.257639] usb usb4: Manufacturer: Linux 3.10.65 ohci_hcd [ 1.263754] usb usb4: SerialNumber: sunxi-ohci [ 1.290124] hub 4-0:1.0: USB hub found [ 1.294236] hub 4-0:1.0: 1 port detected [ 1.299256] get xhci-controller, regulator_io is no nocare [ 1.305604] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.311748] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu mber 5 [ 1.320863] xhci-hcd xhci-hcd.0.auto: irq 58, io mem 0x05200000 [ 1.327387] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.335074] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 1.343132] usb usb5: Product: xHCI Host Controller [ 1.348477] usb usb5: Manufacturer: Linux 3.10.65 xhci-hcd [ 1.354682] usb usb5: SerialNumber: xhci-hcd.0.auto [ 1.360347] xHCI xhci_add_endpoint called for root hub [ 1.365975] xHCI xhci_check_bandwidth called for root hub [ 1.371126] usb 1-1: New USB device found, idVendor=0951, idProduct=162b [ 1.371130] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.371134] usb 1-1: Product: DT HyperX 3.0 [ 1.371137] usb 1-1: Manufacturer: Kingston [ 1.371141] usb 1-1: SerialNumber: 20CF30E118C9BD80120208A3 [ 1.430118] hub 5-0:1.0: USB hub found [ 1.434228] hub 5-0:1.0: 1 port detected [ 1.438631] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.444888] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu mber 6 [ 1.453463] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003 [ 1.461030] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 1.468950] usb usb6: Product: xHCI Host Controller [ 1.474514] usb usb6: Manufacturer: Linux 3.10.65 xhci-hcd [ 1.480632] usb usb6: SerialNumber: xhci-hcd.0.auto [ 1.486275] xHCI xhci_add_endpoint called for root hub [ 1.492002] xHCI xhci_check_bandwidth called for root hub [ 1.520125] hub 6-0:1.0: USB hub found [ 1.524236] hub 6-0:1.0: 1 port detected [ 1.529092] usbcore: registered new interface driver cdc_acm [ 1.535430] cdc_acm: USB Abstract Control Model driver for USB modems and ISD N adapters [ 1.544456] usb-storage 1-1:1.0: USB Mass Storage device detected [ 1.551497] scsi0 : usb-storage 1-1:1.0 [ 1.556086] usbcore: registered new interface driver usb-storage [ 1.562863] usbcore: registered new interface driver ums-alauda [ 1.569522] usbcore: registered new interface driver ums-cypress [ 1.576297] usbcore: registered new interface driver ums-datafab [ 1.583061] usbcore: registered new interface driver ums_eneub6250 [ 1.590001] usbcore: registered new interface driver ums-freecom [ 1.596771] usbcore: registered new interface driver ums-isd200 [ 1.603436] usbcore: registered new interface driver ums-jumpshot [ 1.610295] usbcore: registered new interface driver ums-karma [ 1.616864] usbcore: registered new interface driver ums-onetouch [ 1.623760] usbcore: registered new interface driver ums-realtek [ 1.630524] usbcore: registered new interface driver ums-sddr09 [ 1.637184] usbcore: registered new interface driver ums-sddr55 [ 1.643863] usbcore: registered new interface driver ums-usbat [ 1.650523] usbcore: registered new interface driver usbserial [ 1.657092] usbcore: registered new interface driver ftdi_sio [ 1.663569] usbserial: USB Serial support registered for FTDI USB Serial Devi ce [ 1.671961] usbcore: registered new interface driver option [ 1.678225] usbserial: USB Serial support registered for GSM modem (1-port) [ 1.686508] mousedev: PS/2 mouse device common for all mice [ 1.692893] usbcore: registered new interface driver xpad [ 1.698976] usbcore: registered new interface driver usb_acecad [ 1.705657] usbcore: registered new interface driver aiptek [ 1.711952] usbcore: registered new interface driver gtco [ 1.718040] usbcore: registered new interface driver hanwang [ 1.724419] usbcore: registered new interface driver kbtab [ 1.730633] usbcore: registered new interface driver wacom [ 1.737617] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.744441] sunxi-rtc rtc: RTC enabled [ 1.748992] i2c /dev entries driver [ 1.762823] sunxi gpu cooling probe start ! [ 1.767421] CPU gpu cooling register Success [ 1.776042] [cpufreq] use dvfs_table_3 [ 1.782588] cpuidle: using governor ladder [ 1.787083] cpuidle: using governor menu [ 1.794652] [EMCE]:Current Controller is NAND! [ 1.799531] [EMCE]:VER:0x100100 [ 1.803350] hidraw: raw HID events driver (C) Jiri Kosina [ 1.813011] usbcore: registered new interface driver usbhid [ 1.819131] usbhid: USB HID core driver [ 1.823824] zram: Created 1 device(s) ... [ 1.830330] failed to get gpio-spdif gpio from dts,spdif_gpio:-2 [ 1.838309] sndhdmi sndhdmi: sndhdmi <-> audiohdmi mapping ok [ 1.845777] Registering SWP/SWPB emulation handler [ 1.851855] HDMI 2.0 driver init start! [ 1.856372] [DISP] boot_disp:0x0 [ 1.860156] boot_hdmi=false [ 1.863499] Error: get hdmi power node failed [ 1.869315] scene_lock_init name=hdmi_cec_standby [ 1.875032] HDMI2.0 module init end [ 1.879233] sunxi-rtc rtc: setting system clock to 2021-01-01 00:07:00 UTC (1 609459620) [ 1.890727] snddaudio snddaudio3: codec: acx00-codec, codec_dai: acx00-dai. [ 24.020003] ------------[ cut here ]------------ [ 24.025079] WARNING: at kernel/watchdog.c:286 watchdog_timer_fn+0x100/0x2f8() [ 24.030000] Watchdog detected hard LOCKUP on cpu 3 [ 24.030000] Modules linked in: [ 24.030000] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.10.65 #32 [ 24.030000] Call trace: [ 24.030000] [<ffffffc000088730>] dump_backtrace+0x0/0x11c [ 24.030000] [<ffffffc000088b90>] show_stack+0x20/0x30 [ 24.030000] [<ffffffc00009a37c>] warn_slowpath_common+0x7c/0xa4 [ 24.030000] [<ffffffc00009a418>] warn_slowpath_fmt+0x74/0x88 [ 24.030000] [<ffffffc000101bac>] watchdog_timer_fn+0xfc/0x2f8 [ 24.030000] [<ffffffc0000c2078>] __run_hrtimer+0x134/0x240 [ 24.030000] [<ffffffc0000c2a88>] hrtimer_interrupt+0x130/0x240 [ 24.030000] [<ffffffc000466f48>] arch_timer_handler_virt+0x38/0x4c [ 24.030000] [<ffffffc0001060a8>] handle_percpu_devid_irq+0xe4/0x18c [ 24.030000] [<ffffffc00010212c>] generic_handle_irq+0x34/0x48 [ 24.030000] [<ffffffc0000848e4>] handle_IRQ+0x88/0xac [ 24.030000] [<ffffffc000081410>] gic_handle_irq+0x58/0x88 [ 24.030000] Exception stack(0xffffffc01d8ffe60 to 0xffffffc01d8fff80) [ 24.030000] fe60: 1d8fc000 ffffffc0 00000e11 00000000 1d8fffa0 ffffffc0 0008521c ffffffc0 [ 24.030000] fe80: ffffffed 00000000 00000000 00000000 1efa0114 ffffffc0 00010000 00000000 [ 24.030000] fea0: 1e7ad000 00000000 009ad000 ffffffc0 29aaaaab 00000000 00000018 00000000 [ 24.030000] fec0: 000ea600 0024f473 1d8ffe00 ffffffc0 3b6e20c8 00000000 0000001a 00000000 [ 24.030000] fee0: 00000014 00000000 0000000e 00000000 00000007 00000000 005b3000 ffffffc0 [ 24.030000] ff00: 00000007 00000000 0000000e 00000000 00000001 00000000 1d8fc000 ffffffc0 [ 24.030000] ff20: 00000e11 00000000 009739c2 ffffffc0 00985460 ffffffc0 00000040 00000000 [ 24.030000] ff40: 40000000 00000000 409eb000 00000000 409ed000 00000000 00080260 ffffffc0 [ 24.030000] ff60: 40000000 00000040 1d8fffa0 ffffffc0 00085218 ffffffc0 1d8fffa0 ffffffc0 [ 24.030000] [<ffffffc000083dbc>] el1_irq+0x7c/0xe4 [ 24.030000] [<ffffffc0000e0054>] cpu_startup_entry+0x19c/0x1f4 [ 24.030000] ---[ end trace 6f698b6bbeb67535 ]--- [ 24.030000] cpu_reset_status = 0x0. next_cpu = 0x3 [ 24.030000] set cpu_reset_status = 0xc. next_cpu = 0x3 [ 24.030000] NMI watchdog: gicd_base = 0xffffff800000c000. [ 24.030000] NMI watchdog: gicc_base = 0xffffff800000e000.
Cheers for your help
|
|
|
Post by jj0 on May 8, 2023 15:47:32 GMT
Your log looks the same as mine, except that I have a few more lines after the acx00-dai lines:
[ 1.894927] snddaudio snddaudio3: codec: acx00-codec, codec_dai: acx00-dai. [ 1.952886] snddaudio snddaudio3: acx00-dai <-> daudio3 mapping ok [ 1.960642] ALSA device list: [ 1.963897] #0: sndhdmi [ 1.966765] #1: sndacx00-codec [ 1.970596] Freeing unused kernel memory: 384K (ffffffc000796000 - ffffffc0007f6000)
But to be honest I have no idea what might be wrong.
You could try to reduce the memory used to 256M then you have a 50% chance to discover whether it is a RAM chip problem...
redquark-six#setenv bootargs console=ttyS0,115200 root=/dev/nandb init=/init log level=9 mem=256M ramfs
|
|
|
Post by birdog on May 8, 2023 17:28:20 GMT
Hello, cheers for the info. I tried reducing the memory in steps all the way down to 64M and still got the same error, NMI watchdog. When I reduced below 64M it would stop loading earlier.
I guess this one is done for.
Cheers for the help
|
|
|
Post by jj0 on May 8, 2023 18:12:35 GMT
Hello, cheers for the info. I tried reducing the memory in steps all the way down to 64M and still got the same error, NMI watchdog. When I reduced below 64M it would stop loading earlier. I guess this one is done for. Cheers for the help You're welcome, it's a pity it's broken.
|
|