soundcheck wrote:
> Hi there.
>
> I'm looking into updating the RPI installer to RPI2 installer image. Not
> sure if anybody over here has looked up what Triode is doing during the
> installation.
>
> A nice challenge.
>
> I replaced pretty much all armv6 binaries with armv7 type. I also had to
> increase the image size, partitions etc. E.g. the PI2 kernel is much
> bigger.
> I copied the PI2 kernel and /boot files etc. from a working PI2
> installation.
> I also updated busybox, mke2fs, the bootfiles and the install script to
> fetch the correct PI2 arch linux.
>
> So far, so good.
>
> As a matter of fact I managed to get my SOA-PI2 install image booted.
> Networking came up and the SOA Installer Web interface showed up.
>
> Strike.
>
> I then accepted the T&C and wanted to start the installation.
>
> All I got in the log then was a "Not found" in the browser log. Hmmh.
>
>
> I do have a problem to do better tracing.
>
>
>
> The missing app seems to be a SOA specific. Maybe
> /www/soa-installer-web
>
> Does anybody know if there's an armv7 version available? Could that be
> it??
>
> Thx.
I already did this a few of weeks ago to help out another user. I don't
have an PI2, but he said it worked. From memory 20Mb was big enough for
the new installer, I made no changes to the SD card partitioning. I
didn't change the all the files you have.
The top level of the rootfs of my RPI2 installer is this:
Code:
--------------------
/mnt# ls -l
total 15360
-rwxr-xr-x 1 root root 17864 Mar 28 02:35 bootcode.bin
-rwxr-xr-x 1 root root 981024 Feb 5 23:31 busybox
-rwxr-xr-x 1 root root 188 Feb 5 23:31 cmdline.txt
-rwxr-xr-x 1 root root 26342 Feb 5 23:31 config-busybox
-rwxr-xr-x 1 root root 30 Feb 5 23:31 config.txt
-rwxr-xr-x 1 root root 18693 Feb 5 23:31 COPYING.linux
-rwxr-xr-x 1 root root 2365 Mar 28 02:35 fixup_cd.dat
-rwxr-xr-x 1 root root 6154 Mar 28 02:35 fixup.dat
-rwxr-xr-x 1 root root 9210 Mar 28 02:36 fixup_x.dat
-rwxr-xr-x 1 root root 5516116 Mar 28 03:02 kernel7.img
-rwxr-xr-x 1 root root 1447 Feb 5 23:31 LICENCE.broadcom
-rwxr-xr-x 1 root root 353716 Feb 5 23:31 mke2fs
-rwxr-xr-x 1 root root 956 Feb 5 23:31 mke2fs.conf
drwxr-xr-x 2 root root 2048 Feb 5 23:31 root
drwxr-xr-x 2 root root 2048 May 15 16:23 sbin
drwxr-xr-x 2 root root 2048 May 15 16:32 scripts
-rwxr-xr-x 1 root root 117 Feb 5 23:31 SOURCES
-rwxr-xr-x 1 root root 586616 Mar 28 02:35 start_cd.elf
-rwxr-xr-x 1 root root 3540280 Mar 28 02:35 start.elf
-rwxr-xr-x 1 root root 4635752 Mar 28 02:36 start_x.elf
-rwxr-xr-x 1 root root 501 Feb 5 23:31 udhcpc.script
drwxr-xr-x 2 root root 2048 Feb 5 23:31 www
--------------------
The /sbin/init file shows you what is needed.
Only minor changes are needed to create-sdcard-soa-rpi.sh
I left the contents of /www intact:
Code:
--------------------
/mnt/www# ls -l
total 94
-rwxr-xr-x 1 root root 3662 Feb 5 23:31 favicon.ico
-rwxr-xr-x 1 root root 3119 Feb 5 23:31 index.html
-rwxr-xr-x 1 root root 3801 Feb 5 23:31 installing2.html
-rwxr-xr-x 1 root root 3564 Feb 5 23:31 installing.html
-rwxr-xr-x 1 root root 53468 Feb 5 23:31 soa-installer-web
-rwxr-xr-x 1 root root 20640 Feb 5 23:31 soa-logo-533x342.jpg
-rwxr-xr-x 1 root root 1632 Feb 5 23:31 stylesheet.css
--------------------
AFAIK the crucial program "soa-installer-web" runs OK on the RPi2:
Code:
--------------------
/mnt/www# file soa-installer-web
soa-installer-web: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV),
statically linked, stripped
--------------------
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix