[solved] boot Raspberry Pi 3B+ from SD pulled from PI3

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[solved] boot Raspberry Pi 3B+ from SD pulled from PI3

Postby nickerejv » Sun Mar 18, 2018 12:05 pm

Hi there,

I have a working up-to date arch installation made for Raspberry PI 3. When I attempt to boot the same sd card on the brand new Pi3B+ nothing happens. The left green light blink fast..

Sorry I don't have serial console cable (yet) to grab any error messages. Inserting back the same SD to the old PI3 works fine.
The following update is installed firmware-raspberrypi-3-1.. Kernel: 4.14.27-1-ARCH

Do you have any hints on what might be wrong?

Regards,
Nikolay
Last edited by nickerejv on Sun Mar 18, 2018 3:09 pm, edited 1 time in total.
nickerejv
 
Posts: 5
Joined: Sun Mar 18, 2018 11:57 am

Re: Unable to boot Raspberry Pi 3B+ from SD pulled from PI3

Postby nickerejv » Sun Mar 18, 2018 1:00 pm

I have tried the following two things with no luck yet.

1) pacman -Sy --force linux-raspberrypi firmware-raspberrypi raspberrypi-bootloader-x raspberrypi-bootloader
2) delete all files from /boot and then copy /boot from the latest ArchLinuxARM-rpi-2-latest.tar.gz (18th March).
nickerejv
 
Posts: 5
Joined: Sun Mar 18, 2018 11:57 am

Re: Unable to boot Raspberry Pi 3B+ from SD pulled from PI3

Postby graysky » Sun Mar 18, 2018 1:22 pm

I can't think of a reason why taking a bootable SD card (armv7h) from a RPi3 B and placing it into a B+ wouldn't boot. If you put it back in the B, I assume it boots as expected? Are you sure the B+ isn't damaged? Is the card properly seated?
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Unable to boot Raspberry Pi 3B+ from SD pulled from PI3

Postby nickerejv » Sun Mar 18, 2018 3:07 pm

Mystery solved.
it turned out that the Pi 3B+ board is broken.

The SD card which was originally made for Pi3 boots fine on other 3B+ boards. One one of the many boot attempts I got the yellow under voltage warning - with the broken board. I am however using the original pi3 5.1V 2.5A PSUs which work fine with other 3B+ boards.

Guess I have a board to replace tomorrow :oops:
nickerejv
 
Posts: 5
Joined: Sun Mar 18, 2018 11:57 am

Re: [solved] boot Raspberry Pi 3B+ from SD pulled from PI3

Postby ssrafael » Tue Jun 05, 2018 3:44 pm

The raspberry PI (RPI) 3 B+ not run with official arch linux yet (if you attempt boot using the
https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3 the RPI will not boot and will not display any graphical interface)

To test RPI board get arch linux on the following url and install using Win32 Disk Imager on Windows (the arch on this URL is not recommend to use, is not official arch linux, their is no way to send a message to the author, is not employee of the user, the task done was not by himself (the user of that unofficial arch), not the provided the steps done and the source code. Conclusion was build to a user that is not a software developer this means: May has trojans and or back door software application, but can be used to do a quick test on RPI board:
https://sourceforge.net/projects/rasparch/


# in next months a version of official arch Linux that run on RPI 3 B+ will be released. until that install arch on RPI 3 Model B and after attempt compile the RPI kernel to run on RPI 3 Model B+.

Follow a way to install arch on raspberry PI Model B:
build an installRpi.sh with the following content (and edit the device variable if is necessary):
$this->bbcode_second_pass_code('', 'device=sdb
rpiVersion=rpi-3
bootDir=/mnt/boot
rootDir=/mnt/root
archFilePath=/mnt
archTarFile=ArchLinuxARM-${rpiVersion}-latest.tar.gz
archTarFilePath=${archFilePath}/${archTarFile}

# Author Rafael Peres dos Santos

echo "this run sucessfully with ArchLinuxARM-rpi-3-latest.tar.gz that runs on raspberry PI 3 B"

echo "installing required packages"
# yum info *md5* # list availables md5 softwares
yum install bsdtar dosfstools perl-Digest-MD5-File -y

echo "************************************************************************"
echo ""
echo "sd partitions Ok [y/n]"
read -p "" sdPartitionsOk

if [ "$sdPartitionsOk" == "n" ]; then
echo "Wish build sd partitions automatically [y/n]"
read -p "" wishBuildSdPartitionsAutomatically
if [ "$wishBuildSdPartitionsAutomatically" == "y" ]; then
echo "fdisk /dev/${device}"

# run ok with sd with 8gb, may with higher sd and or another sd brands
(
echo o # to remove partitions
echo n # to add a new partition
echo p # to set as primary partition
echo 1 # to set partition number as 1
echo # to set the First sector with default
echo +100M
echo t # to set the type of partition
echo c # to set FAT32 partition
echo a # to set the previus partition as bootable
echo n # to add a new partition
echo p # to set as primary partition
echo 2 # to set the partion number as 2
echo # to set First sector with default
echo
echo p
echo w # Write changes
echo q # to exit from fdisk
) | fdisk /dev/${device}

#mkfs.vfat -F32 /dev/${device}1
#mkfs.vfat /dev/${device}1
#mkfs.vfat /dev/${device}1
echo "mkfs.vfat -F32 -s 2 /dev/${device}1"
mkfs.vfat -F32 -s 2 /dev/${device}1
echo "mkfs -t ext4 /dev/${device}2"
mkfs -t ext4 /dev/${device}2

else
echo "build sd partitions manually and run this .sh file"
exit 1
fi

fi

cd ${archFilePath}
if [ ! -f "${archTarFile}" ]; then
wget http://os.archlinuxarm.org/os/${archTarFile}
wget http://os.archlinuxarm.org/os/${archTarFile}.md5
archMd5=$(< ${archTarFile}.md5)
archTarFileMd5=$(md5sum ${archTarFile})
echo -e "archMd5: $archMd5\n${archTarFileMd5}\n"
echo -e "\n${archTarFile} md5 match [y/n]"
read -p "" archMd5Match
if [ "$archMd5Match" == "n" ]; then
echo "${archTarFile} md5 not match"
exit 1
fi
fi

mkdir -p $bootDir $rootDir
umount $bootDir $rootDir

echo "bsdtar -xpf ${archTarFile} -C root"
mount /dev/${device}2 $rootDir
bsdtar -xpf $archTarFile -C root
echo "sync"
sync # this leave minute(s) to finish
# to display the progress of sync cmd # watch grep -e Dirty: -e Writeback: /proc/meminfo

echo "mv root/boot/* boot"
mount /dev/${device}1 $bootDir

if [ "$rpiVersion" == "rpi-3" ]; then
rsync -a root/boot/* boot
rm -rf root/boot/
else
mv root/boot/* boot
fi

umount $bootDir $rootDir

echo "remove installed packages [y/n]"
read -p "" removeInstalledPackages
if [ "$removeInstalledPackages" == "y" ]; then
yum remove bsdtar dosfstools perl-Digest-MD5-File -y

fi
')

# arch raspberry PI 3 Model B with kernel version is 4.16.6.1-ARCH
# run the installRpi.sh with sd card on computer. and follow the instructions
sh installRpi.sh

# the bellow links provide a way to update the kernel (is necessary spend time to compile RPI kernel, may the bellow run)
# https://github.com/raspberrypi/firmware/blob/master/README.md
# https://github.com/raspberrypi/linux/blob/rpi-4.14.y/Documentation/admin-guide/README.rst
ssrafael
 
Posts: 2
Joined: Tue Jun 05, 2018 3:03 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 6 guests