Ok, in this case the OS will always boot from Internal FLASH, because that is first in boot order.malcolm.slater wrote: ↑Tue 2021-02-09 22:07I prommed with your attachment, upgraded Int and Ext to 3.62.
To delete the Internal FLASH installation of VSOS, you can do something akin to our instructions on how to unbrick a VS1005g board:
viewtopic.php?f=13&t=681&p=10574&hilit=unbrick#p6867
Option 1: Program an empty image
1.1) Go to the VSOS Internal Kernel directory, e.g. VSOS_362g_IntFlash
1.2) Replace eeprom_i.img with anything less than 32 KiB in size that is not a VSOS image file. For instance, delete it, then make a text file with the same name containing "Babylon 5 now available in 1080p!", or anything else you'd like.
1.3) Do not rebuild the project as this would rewrite eeprom_i.img.
1.4) Run the Prommer/Flasher Utility to program this "empty" image to the VS1005 Internal FLASH.
1.5) Reboot.
1.6) Profit! (Should now say "External Flash" when booting.)
Option 2: Remove Internal FLASH with jumpers & boot
This is lifted and modified from the message I quoted above:
2.1) If you have the VS1005 Dev. Board Extension (Hi-Res Recorder) daughterboard connected, remove it first.
2.2) Put jumpers to JP15 pin header pairs 1, 2, 3, 5, and 6 (when counting from top to bottom). Don't connect pin header pairs 4 and 7.
2.3) Push and release RESET.
2.4) LEDs XTFT and XE1 should blink quickly for a second, then XE2 and XE1 should blink more slowly.
2.5) Remove jumpers from JP15
2.6) Now try rebooting by pushing and releasing RESET.
2.7) Profit! (Should now say "External Flash" when booting.)
You can run those pieces of software even with 1 MiB Internal FLASH, but you'll have to remove some software first, so it's easier to have the larger 2 MiB space of the External FLASH (see above).I still have an issue that the drive when attached as a USB is 1MB not 2, I can't seem to do anything to fix that, is it somehow looking at the internal prom not the external when the USB is attached, is there any way to check? I'm pretty sure I've tried everything, deleted partitions, blown away and reset both on mac and windows. When it loads it always says it's using Internal Flash however, no button combination or boot select sets it to external. I need 2MB so I can run the display and classicplayer I think.
If I read that one right (I am not familiar with the Mac's Unix flavour), that command asks to format disk 3's partition 1. Also, from the man page, I didn't see an option to write the file system to the whole disk, ignoring and overwriting any partition information.MAC has a util to format to FAT12:
https://www.unix.com/man-page/osx/8/newfs_msdos/
Code: Select all
diskutil unmountDisk disk3s1 sudo newfs_msdos -F 12 disk3s1 # make FAT12
On the other hand, Windows refuses to overwrite any partition tables of removable devices. So, if the Mac creates one (as I suppose it does), Windows can do nothing about it.
You can check the existence of a partition table by installing FatInfo.dl3 to your S:SYS/ directory, then running "FatInfo S:".
If you have (an unnecessary) partition table, the output will start like this:
Code: Select all
FOUND PARTITION TABLE
[... etc ...]
Code: Select all
FAT FOUND IN ROOT BLOCK
FAT32 SECTOR 0:
[... etc ...]
Code: Select all
sudo mkfs.fat -a -r 128 -f 1 -h 0 -s 1 -F 12 -I -n VSOSSYS /dev/sdf; sync
Code: Select all
S:>diskfree -v s:
Drv Used/KiB Free/KiB Total/KiB Use% Name
S: 844 44 888 95% SPI Flash c213
Code: Select all
S:>diskfree -v s:
Drv Used/KiB Free/KiB Total/KiB Use% Name
S: 1844 68 1912 96% SPI Flash c814
Ok, this become a very long message. Hope it didn't become too confusing!
Kind regards,
- Henrik