root@ubws2:~# mc root@ubws2:~/10.03_app_demo/5_applications/pdp11-05/rt11v4# ./rt11v4_rk_shared.sh iarg1=8, iarg2=15 [18:59:02.561560 Inf APP] Printing verbose output. demo - QUniBone UNIBUS test application. Version DBG v1.5.0, compile Nov 22 2022 11:04:22. [18:59:02.570409 Inf APP] Registering Non-PRU GPIO pins. [18:59:02.571552 Inf GPIOS] GPIO0 registers at 44E07000 - 44E07FFF (size = 1000) [18:59:02.572828 Inf GPIOS] GPIO1 registers at 4804C000 - 4804CFFF (size = 1000) [18:59:02.573856 Inf GPIOS] GPIO2 registers at 481AC000 - 481ACFFF (size = 1000) [18:59:02.574989 Inf GPIOS] GPIO3 registers at 481AE000 - 481AEFFF (size = 1000) [18:59:02.579088 Inf APP] Disable DS8641 drivers. [18:59:02.580291 Inf APP] Leave SYSBOOT mode. dc [18:59:02.583193 Inf APP] Connecting to PRU. [18:59:02.585297 Inf DDRMEM] Shared DDR memory: 4194304 bytes available, 4194304 bytes needed. [18:59:02.586659 Inf DDRMEM] Virtual (ARM Linux-side) address: 0xb53fe000 [18:59:02.587750 Inf DDRMEM] Physical (PRU-side) address:9d100000 [18:59:02.588767 Inf DDRMEM] 4194304 bytes of UniBone memory allocated [18:59:02.590306 Inf PRU] Loaded and started PRU code with id = 2 [18:59:02.692720 Inf APP] Registering non-PRU pins. [18:59:02.694049 Inf GPIOS] GPIO0 registers at 44E07000 - 44E07FFF (size = 1000) [18:59:02.695380 Inf GPIOS] GPIO1 registers at 4804C000 - 4804CFFF (size = 1000) [18:59:02.696600 Inf GPIOS] GPIO2 registers at 481AC000 - 481ACFFF (size = 1000) [18:59:02.697755 Inf GPIOS] GPIO3 registers at 481AE000 - 481AEFFF (size = 1000) [18:59:02.701376 Inf APP] Disable DS8641 drivers. [18:59:02.702774 Inf APP] Leave SYSBOOT mode. [18:59:02.703856 Inf APP] Registering multiplex bus latches, initialized later by PRU code. [18:59:02.704914 Inf APP] Initializing device register maps. [18:59:02.720396 Inf QUNAPT] QUNIBUSADAPTER::worker(0) started [18:59:02.722511 Inf QUNAPT] Trying to set thread realtime priority = 50 [18:59:02.724267 Inf QUNAPT] Scheduling is at RT priority. [18:59:02.724403 Inf QUNAPT] Thread priority is 50 [18:59:02.735896 Inf pnl] PANEL::worker(0) started [18:59:02.737056 Inf MSSVR] Trying to set thread realtime priority = 50 [18:59:02.737378 Inf MSSVR] Scheduling is at RT priority. [18:59:02.737450 Inf MSSVR] Thread priority is 50 [18:59:02.762488 Inf cpu] CPU stopped [18:59:02.763992 Inf QUNAPT] QUnibusAdapter: Registering device CPU20 [18:59:02.766625 Inf cpu] CPU: DCLO active sd dl11 Current device is "DL11" p p ttyS2 Name Short Value Unit Access Info ---------- ----- ----- ---- -------- ------------------------------------- serialport p ttyS2 writable Linux serial port: "ttyS1" or "ttyS2" en dl11 [18:59:02.778659 Inf cpu] CPU20::worker(0) started [18:59:02.779888 Inf cpu] Trying to set thread realtime priority = 0 [18:59:02.781119 Inf cpu] Scheduling is not RT: neither SCHED_FIFO nor SCHED_RR! [18:59:02.783055 Inf slu] Serial port ttyS2 opened [18:59:02.784570 Inf QUNAPT] QUnibusAdapter: Registering device DL11 pwr [18:59:02.786902 Inf cpu] Thread priority is 0 [18:59:02.790152 Inf cpu] CPU: ACLO active [18:59:02.792494 Inf slu] DL11::worker(1) started [18:59:02.793805 Inf slu] Trying to set thread realtime priority = 50 [18:59:02.796214 Inf slu] Scheduling is at RT priority. [18:59:02.796343 Inf slu] Thread priority is 50 [18:59:02.796908 Inf slu] DL11::worker(0) started [18:59:02.797396 Inf slu] Trying to set thread realtime priority = 50 [18:59:02.797517 Inf slu] Scheduling is at RT priority. [18:59:02.797566 Inf slu] Thread priority is 50 [18:59:02.992457 Inf cpu] CPU: DCLO active [18:59:03.393144 Inf cpu] CPU: ACLO inactive [18:59:03.394019 Inf cpu] ACLO at 000000 [18:59:03.405609 Inf cpu] ACLO inactive: fetch vector <<< <<< Input: waiting for 3000 milli seconds >>> <<< m i Disable memory emulation, size physical memory ... Now emulating UniBone memory in range 000000..757776 with DDR memory. m ll dk.lst Loaded MACRO-11 listing from file "dk.lst" into memory: 61 words from 000000 to 010160. No entry address at "start" label is 17777777777. en rk [18:59:06.677865 Inf QUNAPT] QUnibusAdapter: Registering device rk en rk0 sd rk0 Current device is "rk0" Controller base address = io777400 p emulation_speed 10 Name Short Value Unit Access Info --------------- ----- ----- ---- -------- ------------------------------- emulation_speed es 10 writable 1 = original speed, > 1: faster p image rtv4_rk.dsk Name Short Value Unit Access Info ----- ----- ----------- ---- -------- ------------------------------------------------------------------------ image img rtv4_rk.dsk writable Path to binary image file. Empty to detach. ".gz" archive also searched. [18:59:06.695573 Inf rk0] rk0::worker(0) started p shared_filesystem RT11 Name Short Value Unit Access Info ----------------- ----- ----- ---- -------- ---------------------------------------------------------- shared_filesystem shfs RT11 writable Encode shared dir in this file system (empty, RT11, XXDP). p shared_dir shared_rk0 [18:59:06.698528 WRN rk0] TODO: drive size (trunc!) and unitno may change? Propagate to shared image! [18:59:06.698943 Inf rk] rk::worker(0) started [18:59:06.699080 Inf rk] Trying to set thread realtime priority = 50 [18:59:06.699189 Inf rk] Scheduling is at RT priority. [18:59:06.699234 Inf rk] Thread priority is 50 demo: /root/10.02_devices/2_src/sharedfilesystem/filesystem_rt11.cpp:325: virtual void sharedfilesystem::filesystem_rt11_c::init(): Assertion `image_partition->size >= layout_info.block_count * layout_info.block_size' failed. ./rt11v4_rk_shared.sh: line 3: 2499 Aborted ~/10.03_app_demo/4_deploy/demo --verbose --cmdfile rt11v4_rk_shared.cmd $* root@ubws2:~# ########################################################################################## mc root@ubws2:~/10.03_app_demo/5_applications/pdp11-05/rt11v4# ./rt11v4_rk_shared.sh iarg1=8, iarg2=15 [19:02:16.636124 Inf APP] Printing verbose output. demo - QUniBone UNIBUS test application. Version DBG v1.5.0, compile Nov 22 2022 11:04:22. [19:02:16.641297 Inf APP] Registering Non-PRU GPIO pins. [19:02:16.643071 Inf GPIOS] GPIO0 registers at 44E07000 - 44E07FFF (size = 1000) [19:02:16.644751 Inf GPIOS] GPIO1 registers at 4804C000 - 4804CFFF (size = 1000) [19:02:16.647352 Inf GPIOS] GPIO2 registers at 481AC000 - 481ACFFF (size = 1000) [19:02:16.649136 Inf GPIOS] GPIO3 registers at 481AE000 - 481AEFFF (size = 1000) [19:02:16.654663 Inf APP] Disable DS8641 drivers. [19:02:16.656885 Inf APP] Leave SYSBOOT mode. dc [19:02:16.661199 Inf APP] Connecting to PRU. [19:02:16.663818 Inf DDRMEM] Shared DDR memory: 4194304 bytes available, 4194304 bytes needed. [19:02:16.665952 Inf DDRMEM] Virtual (ARM Linux-side) address: 0xb53e2000 [19:02:16.667386 Inf DDRMEM] Physical (PRU-side) address:9d100000 [19:02:16.668898 Inf DDRMEM] 4194304 bytes of UniBone memory allocated [19:02:16.671180 Inf PRU] Loaded and started PRU code with id = 2 [19:02:16.774139 Inf APP] Registering non-PRU pins. [19:02:16.774468 Inf GPIOS] GPIO0 registers at 44E07000 - 44E07FFF (size = 1000) [19:02:16.774648 Inf GPIOS] GPIO1 registers at 4804C000 - 4804CFFF (size = 1000) [19:02:16.774768 Inf GPIOS] GPIO2 registers at 481AC000 - 481ACFFF (size = 1000) [19:02:16.774886 Inf GPIOS] GPIO3 registers at 481AE000 - 481AEFFF (size = 1000) [19:02:16.781057 Inf APP] Disable DS8641 drivers. [19:02:16.790413 Inf APP] Leave SYSBOOT mode. [19:02:16.791966 Inf APP] Registering multiplex bus latches, initialized later by PRU code. [19:02:16.795606 Inf APP] Initializing device register maps. [19:02:16.816645 Inf QUNAPT] QUNIBUSADAPTER::worker(0) started [19:02:16.822776 Inf QUNAPT] Trying to set thread realtime priority = 50 [19:02:16.826085 Inf QUNAPT] Scheduling is at RT priority. [19:02:16.826255 Inf QUNAPT] Thread priority is 50 [19:02:16.835322 Inf pnl] PANEL::worker(0) started [19:02:16.837741 Inf MSSVR] Trying to set thread realtime priority = 50 [19:02:16.839639 Inf MSSVR] Scheduling is at RT priority. [19:02:16.839788 Inf MSSVR] Thread priority is 50 [19:02:16.873720 Inf cpu] CPU stopped [19:02:16.875577 Inf QUNAPT] QUnibusAdapter: Registering device CPU20 [19:02:16.877941 Inf cpu] CPU: DCLO active sd dl11 Current device is "DL11" p p ttyS2 Name Short Value Unit Access Info ---------- ----- ----- ---- -------- ------------------------------------- serialport p ttyS2 writable Linux serial port: "ttyS1" or "ttyS2" en dl11 [19:02:16.892355 Inf cpu] CPU20::worker(0) started [19:02:16.894104 Inf cpu] Trying to set thread realtime priority = 0 [19:02:16.896549 Inf slu] Serial port ttyS2 opened [19:02:16.898045 Inf QUNAPT] QUnibusAdapter: Registering device DL11 pwr [19:02:16.900312 Inf cpu] Scheduling is not RT: neither SCHED_FIFO nor SCHED_RR! [19:02:16.903815 Inf cpu] Thread priority is 0 [19:02:16.910554 Inf slu] DL11::worker(1) started [19:02:16.911987 Inf slu] Trying to set thread realtime priority = 50 [19:02:16.913826 Inf cpu] CPU: ACLO active [19:02:16.914436 Inf slu] DL11::worker(0) started [19:02:16.915181 Inf slu] Trying to set thread realtime priority = 50 [19:02:16.916133 Inf slu] Scheduling is at RT priority. [19:02:16.916261 Inf slu] Thread priority is 50 [19:02:16.916498 Inf slu] Scheduling is at RT priority. [19:02:16.916581 Inf slu] Thread priority is 50 [19:02:17.112692 Inf cpu] CPU: DCLO active [19:02:17.513276 Inf cpu] CPU: ACLO inactive [19:02:17.514237 Inf cpu] ACLO at 000000 [19:02:17.525792 Inf cpu] ACLO inactive: fetch vector <<< <<< Input: waiting for 3000 milli seconds >>> <<< m i Disable memory emulation, size physical memory ... Now emulating UniBone memory in range 000000..757776 with DDR memory. m ll dk.lst Loaded MACRO-11 listing from file "dk.lst" into memory: 61 words from 000000 to 010160. No entry address at "start" label is 17777777777. en rk [19:02:20.796885 Inf QUNAPT] QUnibusAdapter: Registering device rk en rk0 sd rk0 Current device is "rk0" Controller base address = io777400 p emulation_speed 10 Name Short Value Unit Access Info --------------- ----- ----- ---- -------- ------------------------------- emulation_speed es 10 writable 1 = original speed, > 1: faster p image rtv4_rk.dsk Name Short Value Unit Access Info ----- ----- ----------- ---- -------- ------------------------------------------------------------------------ image img rtv4_rk.dsk writable Path to binary image file. Empty to detach. ".gz" archive also searched. en rk1 sd rk1 Current device is "rk1" Controller base address = io777400 [19:02:20.814433 Inf rk0] rk0::worker(0) started [19:02:20.817660 Inf rk] rk::worker(0) started [19:02:20.820053 Inf rk] Trying to set thread realtime priority = 50 [19:02:20.821292 Inf rk] Scheduling is at RT priority. [19:02:20.821417 Inf rk] Thread priority is 50 p emulation_speed 10 Name Short Value Unit Access Info --------------- ----- ----- ---- -------- ------------------------------- emulation_speed es 10 writable 1 = original speed, > 1: faster p image basic.dsk [19:02:20.823093 Inf rk1] rk1::worker(0) started Name Short Value Unit Access Info ----- ----- --------- ---- -------- ------------------------------------------------------------------------ image img basic.dsk writable Path to binary image file. Empty to detach. ".gz" archive also searched. <<< Disk drive now on track after 5 secs <<< <<< Input: waiting for 4000 milli seconds >>> <<< p Parameters of device rk1: Name Short Value Unit Access Info ----------------- ----- --------- ---- --------- --------------------------------------------------------------------------------- name name rk1 read only Unique identifier of device type type RK05 read only Type enabled en 1 read only device installed and ready to use? emulation_speed es 10 writable 1 = original speed, > 1: faster verbosity v 4 writable 1 = fatal, 2 = error, 3 = warning, 4 = info, 5 = debug unit unit 1 read only Unit # of drive capacity cap 0 byte read only Storage capacity image img basic.dsk writable Path to binary image file. Empty to detach. ".gz" archive also searched. shared_dir shd writable Path to directory with shared files. Created on demand, empty to disable sharing. shared_filesystem shfs writable Encode shared dir in this file system (empty, RT11, XXDP). activityled al 1 writable Number of LED to used for activity display. en cpu20 sd cpu20 Current device is "CPU20" pwr [19:02:24.842104 Inf cpu] CPU: ACLO active double bus error, HALT [19:02:24.844204 Inf cpu] CPU HALT by opcode at 165524 R0 000000 R1 165202 R2 000100 R3 165212 R4 000000 R5 000000 R6 165206 R7 165524 10 000000 11 000000 12 000004 13 000000 14 000000 15 000000 16 000000 17 000000 BA 165206 IR 100375 PSW 344 [19:02:25.042658 Inf cpu] CPU: DCLO active [19:02:25.443297 Inf cpu] CPU: ACLO inactive [19:02:25.444263 Inf cpu] ACLO at 165524 [19:02:25.456423 Inf cpu] ACLO inactive: fetch vector <<< RK drives ready. <<< RK0 content accessible in shared Linux directory "shared_rk0" <<< RK1 content in "shared_rk1" p c 1 Name Short Value Unit Access Info --------------- ----- ----- ---- -------- ------------------------------------------------------------------------ continue_switch c 1 writable CONT action switch: 1 = CPU restart after HALT. CONT+HALT = single step. DC>>> ############################################################################################################### Serial port ttyS2 opened by UniBone 000000 000000 000000 000000 @ RT-11SJ V04.00C .D 56=5015 .TYPE V4USER.TXT Welcome to RT-11 Version 4. RT-11 V04 provides new hardware support and some major enhancements over Version 3B. Please use the HELP command; it describes the new options in many of the utilities. If you are using a terminal that requires fill characters, modify location 56 with a Deposit command before proceeding with system installation. LA36 DECwriter II and VT52 DECscope terminals do NOT require such modification. .D 56=0 .