Login  Register

Help with boot process

Posted by Roadrunnere42 on Feb 27, 2016; 10:30pm
URL: https://itus.accessinnov.com/Help-with-boot-process-tp192.html

I'm helping several people out with broken Shield ie don't start up and as I’m learning as I go allow, just when I think I have it cracked a spanner gets thrown in the spokes i'm in the process of documenting as i go allow, here's my questions?

1)  when I get the shield booted ( running from an itusrouterimage from memory) I have found that when I mount /dev/mmcblk0p1  /overlay the Shield complains that the device was not umount properly and may be corrupt. What program can i use to fix this as fsck is on installed or can i install, mmcblk0p1 is a fat partition.

2) On these Shields that have trouble booting, If I run  the factory reset command, the Shield goes through the process and asked for a reboot. On completing the reboot the Shield stops saying it can't find Itusrouterimage, on looking at /dev/mmcblk0p1 all files are deleted except Itusrestoreimage, and the two bootloaders, has any one got any ideas on this
 
3) I have tried copying over the overlay folder from a working  sp1 Shield but on restarting it loads into RC1, Does the Shield hold a copy in a separate partition? because if i load a sp1 copy of Itusrouterimage manually it show sp1?

4) On my shield I accidentally left sd card in slot and rebooted, to my surprise my Shield which was running sp1 now booted in RC1 take card out rebooted and yes straight back to sp1, so am i right in thinking there must be a trigger that loads a copy from somewhere hidden in the Shield?

5) How do I stop/start firewall when ssh in, as when i type firewall start if not found?

6) What are these partitions for for
 mmcblk0boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB
 mmcblk0boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB
 mmcblk0rpmb: mmc1:0001 P1XXXX is  3 128 KiB
 

I have found that people are downloading or using Itus images that are from both rc1 and sp1 which makes it hard to know which version they are using, would be nice to have a section with folders label rc1 firmware and sp1 firmware with all the right files.

I know this may go about some peoples head but any help in the boot process or file structure would be a help, once I get these Shield up and running I will post documentation.