1
0
mirror of https://github.com/livingcomputermuseum/UniBone.git synced 2026-04-02 12:09:13 +00:00

delay after powercycle, so system is stable for next operation

This commit is contained in:
Joerg Hoppe
2019-08-28 16:45:08 +02:00
parent d058310e53
commit 52d646973d
2 changed files with 19 additions and 0 deletions

View File

@@ -132,6 +132,8 @@ void unibus_c::powercycle(void) {
mailbox->initializationsignal.id = INITIALIZATIONSIGNAL_DCLO;
mailbox->initializationsignal.val = 0;
mailbox_execute(ARM2PRU_INITALIZATIONSIGNAL_SET);
// wait for CPU to come up
timeout.wait_ms(delay_ms);
}
void unibus_c::set_arbitration_mode(arbitration_mode_enum arbitration_mode) {

17
91_3rd_party/macro11-install.sh vendored Normal file
View File

@@ -0,0 +1,17 @@
#! /bin/bash
# get MACRO11 repository from hithub
git clone https://github.com/j-hoppe/MACRO11
# mail fail, if exists
cd MACRO11
git pull
cd src
make
echo Publish macro11 under 3rd/party/MACRO11
cp -f macro11 ..