has anyone here tried out the octa-core Cubieboard5?
Does Centos work with all those cores for better multitasking than the duo-core A20 boards?
One of my Cubieboard2 is dying and I CAN replace it with one of my test boards. But my mail server does struggle with only 2 cores for all the virus scanning. If I had more cores, I could lift the attachment limit, perhaps.
I just saw a deal on the Cubieboard5, cheaper than the Cubietruck.
Or info on any other quad board.
thanks
Robert, cubieboard5 (AKA Cubietruck Plus) has an A83T SoC, which only got multicore for kernel 4.18 (still not relased). I made a 4.17 version with smp support backported and you can find it here (https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.17.6-2...). Also cubietruck plus may not have HDMI support yet (I got a patch from another user in #centos-arm and seems to be working).
Finally, the main thing about that board (about that SoC actually), is that SATA is not native, it is an integrated SATA-USB, so performance may be an issue. Personally I love the BananaPi M2Ultra, 2G RAM, 4 Cores and native SATA. The only problem is that SATA support is not integrated yet in any kernel, so it needs external patches.
Pablo.
P.S: this is a blog post I made a few months ago https://blog.centos.org/2018/05/testing-armhfp-devices/ , BananaPi M3 is practically the same as Cubieboard5. P.S 2: wrt any device with AllWinner SoC, you can check https://linux-sunxi.org/Linux_mainlining_effort to know what to expect.
El 5/8/18 a las 01:09, Robert Moskowitz escribió:
has anyone here tried out the octa-core Cubieboard5?
Does Centos work with all those cores for better multitasking than the duo-core A20 boards?
One of my Cubieboard2 is dying and I CAN replace it with one of my test boards. But my mail server does struggle with only 2 cores for all the virus scanning. If I had more cores, I could lift the attachment limit, perhaps.
I just saw a deal on the Cubieboard5, cheaper than the Cubietruck.
Or info on any other quad board.
thanks
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Pable,
Thanks for responding.
On 08/05/2018 05:46 AM, Pablo Sebastián Greco wrote:
Robert, cubieboard5 (AKA Cubietruck Plus) has an A83T SoC, which only got multicore for kernel 4.18 (still not relased). I made a 4.17 version with smp support backported and you can find it here (https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.17.6-2...). Also cubietruck plus may not have HDMI support yet (I got a patch from another user in #centos-arm and seems to be working).
Using it as a server on if I need a local connection I use the serial console via a TTL/USB converter. Of course I would have to get the pin-out for this board.
Finally, the main thing about that board (about that SoC actually), is that SATA is not native, it is an integrated SATA-USB, so performance may be an issue.
Ouch. this is for a mail server that has extensive disk I/O. So forget this board.
Personally I love the BananaPi M2Ultra, 2G RAM, 4 Cores and native SATA. The only problem is that SATA support is not integrated yet in any kernel, so it needs external patches.
Any timing on delivering the support mainline?
Pablo.
P.S: this is a blog post I made a few months ago https://blog.centos.org/2018/05/testing-armhfp-devices/ , BananaPi M3 is practically the same as Cubieboard5.
I will look at it.
P.S 2: wrt any device with AllWinner SoC, you can check https://linux-sunxi.org/Linux_mainlining_effort to know what to expect.
I use to follow it closely and did some testing for Hans when he was running the Allwinner development. I should go back and check in, so to speak.
Of course if there is a quad core 64-bit ARM with sata under $100 that runs at 5V; that would do nicely!
Bob
El 5/8/18 a las 01:09, Robert Moskowitz escribió:
has anyone here tried out the octa-core Cubieboard5?
Does Centos work with all those cores for better multitasking than the duo-core A20 boards?
One of my Cubieboard2 is dying and I CAN replace it with one of my test boards. But my mail server does struggle with only 2 cores for all the virus scanning. If I had more cores, I could lift the attachment limit, perhaps.
I just saw a deal on the Cubieboard5, cheaper than the Cubietruck.
Or info on any other quad board.
thanks
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
El 5/8/18 a las 07:16, Robert Moskowitz escribió:
Pable,
Thanks for responding.
On 08/05/2018 05:46 AM, Pablo Sebastián Greco wrote:
Robert, cubieboard5 (AKA Cubietruck Plus) has an A83T SoC, which only got multicore for kernel 4.18 (still not relased). I made a 4.17 version with smp support backported and you can find it here (https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.17.6-2...). Also cubietruck plus may not have HDMI support yet (I got a patch from another user in #centos-arm and seems to be working).
Using it as a server on if I need a local connection I use the serial console via a TTL/USB converter. Of course I would have to get the pin-out for this board.
I have that patch included in my kernels, but don't have a device to test it.
Finally, the main thing about that board (about that SoC actually), is that SATA is not native, it is an integrated SATA-USB, so performance may be an issue.
Ouch. this is for a mail server that has extensive disk I/O. So forget this board.
Personally I love the BananaPi M2Ultra, 2G RAM, 4 Cores and native SATA. The only problem is that SATA support is not integrated yet in any kernel, so it needs external patches.
Any timing on delivering the support mainline?
Patch is already at v3, I've been using v1 on my device without problems. Doesn't look like it it will be integrated before 4.20 (but we can always backport)
Pablo.
P.S: this is a blog post I made a few months ago https://blog.centos.org/2018/05/testing-armhfp-devices/ , BananaPi M3 is practically the same as Cubieboard5.
I will look at it.
P.S 2: wrt any device with AllWinner SoC, you can check https://linux-sunxi.org/Linux_mainlining_effort to know what to expect.
I use to follow it closely and did some testing for Hans when he was running the Allwinner development. I should go back and check in, so to speak.
Of course if there is a quad core 64-bit ARM with sata under $100 that runs at 5V; that would do nicely!
;)
Bob
El 5/8/18 a las 01:09, Robert Moskowitz escribió:
has anyone here tried out the octa-core Cubieboard5?
Does Centos work with all those cores for better multitasking than the duo-core A20 boards?
One of my Cubieboard2 is dying and I CAN replace it with one of my test boards. But my mail server does struggle with only 2 cores for all the virus scanning. If I had more cores, I could lift the attachment limit, perhaps.
I just saw a deal on the Cubieboard5, cheaper than the Cubietruck.
Or info on any other quad board.
thanks
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 08/05/2018 06:55 AM, Pablo Sebastián Greco wrote:
El 5/8/18 a las 07:16, Robert Moskowitz escribió:
Pable,
Thanks for responding.
On 08/05/2018 05:46 AM, Pablo Sebastián Greco wrote:
Robert, cubieboard5 (AKA Cubietruck Plus) has an A83T SoC, which only got multicore for kernel 4.18 (still not relased). I made a 4.17 version with smp support backported and you can find it here (https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.17.6-2...). Also cubietruck plus may not have HDMI support yet (I got a patch from another user in #centos-arm and seems to be working).
Using it as a server on if I need a local connection I use the serial console via a TTL/USB converter. Of course I would have to get the pin-out for this board.
I have that patch included in my kernels, but don't have a device to test it.
Finally, the main thing about that board (about that SoC actually), is that SATA is not native, it is an integrated SATA-USB, so performance may be an issue.
Ouch. this is for a mail server that has extensive disk I/O. So forget this board.
Personally I love the BananaPi M2Ultra, 2G RAM, 4 Cores and native SATA. The only problem is that SATA support is not integrated yet in any kernel, so it needs external patches.
Any timing on delivering the support mainline?
Patch is already at v3, I've been using v1 on my device without problems. Doesn't look like it it will be integrated before 4.20 (but we can always backport)
ETA for 4.20, considering we are on 4.9.52? :)
Pablo.
P.S: this is a blog post I made a few months ago https://blog.centos.org/2018/05/testing-armhfp-devices/ , BananaPi M3 is practically the same as Cubieboard5.
I will look at it.
P.S 2: wrt any device with AllWinner SoC, you can check https://linux-sunxi.org/Linux_mainlining_effort to know what to expect.
I use to follow it closely and did some testing for Hans when he was running the Allwinner development. I should go back and check in, so to speak.
Of course if there is a quad core 64-bit ARM with sata under $100 that runs at 5V; that would do nicely!
;)
Yeah, California dreaming. And I am in Michigan. No forest fires. Yet.
How many of the above requirements are not available. My first approximation is <$100 and 5V. We all know there are quad 64bit ARMs out there with sata!
Bob
El 5/8/18 a las 01:09, Robert Moskowitz escribió:
has anyone here tried out the octa-core Cubieboard5?
Does Centos work with all those cores for better multitasking than the duo-core A20 boards?
One of my Cubieboard2 is dying and I CAN replace it with one of my test boards. But my mail server does struggle with only 2 cores for all the virus scanning. If I had more cores, I could lift the attachment limit, perhaps.
I just saw a deal on the Cubieboard5, cheaper than the Cubietruck.
Or info on any other quad board.
thanks
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On August 5, 2018 4:13:26 PM GMT+03:00, Robert Moskowitz rgm@htt-consult.com wrote: .
Of course if there is a quad core 64-bit ARM with sata under $100 that runs at 5V; that would do nicely!(....)
How many of the above requirements are not available. My first approximation is <$100 and 5V. We all know there are quad 64bit ARMs out there with sata!
If I am not mistaken odroid fits these bills but its uboot and kernel are NOT mainstreamed, AFAIK. Hence not easy to use with CentOS.
On 08/05/2018 09:23 AM, Manuel Wolfshant wrote:
On August 5, 2018 4:13:26 PM GMT+03:00, Robert Moskowitz rgm@htt-consult.com wrote: .
Of course if there is a quad core 64-bit ARM with sata under $100 that runs at 5V; that would do nicely!(....)
How many of the above requirements are not available. My first approximation is <$100 and 5V. We all know there are quad 64bit ARMs out there with sata!
If I am not mistaken odroid fits these bills but its uboot and kernel are NOT mainstreamed, AFAIK. Hence not easy to use with CentOS.
And another question I have on the arm_64 stuff:
Can I move the uboot mSD card and sata drive from one board to another? This is one of the important development things I like with the 32bit. I can develop build on my desk with a test board, then move it all into production in my rack systems.
EFI kind of killed this with Fedora. If my notebook dies (e.g. fan), I cannot just pull the drive and put it into an identical (Lenovo x120e) notebook. Though my next unit will probably be an x141e...
On 5. Aug 2018, at 17:28, Robert Moskowitz rgm@htt-consult.com wrote:
And another question I have on the arm_64 stuff:
Can I move the uboot mSD card and sata drive from one board to another? This is one of the important development things I like with the 32bit. I can develop build on my desk with a test board, then move it all into production in my rack systems.
As long as the firmware resides on (removable) eMMC or mSD, your approach will work. If the firmware resides on internal memory like SPI flash or soldered eMMC storages things become a little bit more complicated. In this case you need to tweak the boot procedure in order to recognise and probe various boot options, e.g. first try to boot from mSD, then from USB, then from SATA, then from network, … Usually you will find the rootfs UUID hard wired in to some of the u-boot variables. This is no matter of 32bit or 64bit, I have both flavours on both architectures.
So far ODROID devices don’t make use of internal storage (hence they are ‘unbrickable’), so they will probably fit to your needs.
B.t.w. have you considered to facilitate Docker for your development?
Cheers Uli
If I am not mistaken odroid fits these bills but its uboot and kernel are NOT mainstreamed, AFAIK. Hence not easy to use with CentOS.
You can merge and mix vendor firmware+kernel with a CentOS userland, details are described here [1]. The Armbian people are doing a great job in providing mainlined u-boot and kernel, so this would be my preferred source instead of an outdated BSP image (I still follow the idea to tweak their build system in order to provide a CentOS image).
Cheers Uli
[1] https://github.com/umiddelb/aarch64/wiki/Install-CentOS-7-on-your-favourite-... https://github.com/umiddelb/aarch64/wiki/Install-CentOS-7-on-your-favourite-ARMv8-ARM64-AArch64-board
<snip>
Any timing on delivering the support mainline?
Patch is already at v3, I've been using v1 on my device without problems. Doesn't look like it it will be integrated before 4.20 (but we can always backport)
ETA for 4.20, considering we are on 4.9.52? :)
We are using 4.14.52 (because it is LTS), but I always try to build some of the latest kernels with some additions for my personal devices, so you're welcome to use those ;) Normally kernels are released every 2 or 3 months, and considering 4.18 is almost out, 4.20 should be available by the end of 2018, beginning of 2019.
Pablo.
On 08/05/2018 10:52 AM, Pablo Sebastián Greco wrote:
<snip> >>> Any timing on delivering the support mainline? >> Patch is already at v3, I've been using v1 on my device without >> problems. Doesn't look like it it will be integrated before 4.20 >> (but we can always backport) > > ETA for 4.20, considering we are on 4.9.52? :) We are using 4.14.52
Yes., that was a typo on my part. Reading the file names in an ssh window, and typing into Thunderbird...
(because it is LTS), but I always try to build some of the latest kernels with some additions for my personal devices, so you're welcome to use those ;) Normally kernels are released every 2 or 3 months, and considering 4.18 is almost out, 4.20 should be available by the end of 2018, beginning of 2019.
Thanks. Something to keep in mind.
Pablo.
Am 2018-08-05 12:55, schrieb Pablo Sebastián Greco:
El 5/8/18 a las 07:16, Robert Moskowitz escribió:
Pable,
Thanks for responding.
On 08/05/2018 05:46 AM, Pablo Sebastián Greco wrote:
Robert, cubieboard5 (AKA Cubietruck Plus) has an A83T SoC, which only got multicore for kernel 4.18 (still not relased). I made a 4.17 version with smp support backported and you can find it here (https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.17.6-2...). Also cubietruck plus may not have HDMI support yet (I got a patch from another user in #centos-arm and seems to be working).
Using it as a server on if I need a local connection I use the serial console via a TTL/USB converter. Of course I would have to get the pin-out for this board.
I have that patch included in my kernels, but don't have a device to test it.
Hello Pablo,
I've bought this device 1 or 2 years ago, but didn't find any good OS (Fedora, CentOS) for that. How to get this board with your kernel running? Any tips or howto?
I also have 2 Cubietruck 3 with CentOS.
Thanks
Andreas
<snip>
Hello Pablo,
I've bought this device 1 or 2 years ago, but didn't find any good OS (Fedora, CentOS) for that. How to get this board with your kernel running? Any tips or howto?
I also have 2 Cubietruck 3 with CentOS.
Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
2) (Harder) - Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip> > > Hello Pablo, > > I've bought this device 1 or 2 years ago, but didn't find any good OS > (Fedora, CentOS) for that. How to get this board with your kernel > running? Any tips or howto? > > I also have 2 Cubietruck 3 with CentOS. > Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
- (Harder)
- Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Pablo,
thank you very much for these tipps. I'm now running Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz. I think, Fedora would be better for my need (pi-hole, DNS, Print-server, Time-server, ...)
As I can see, there is a EMMC-disc with 8 GB. Did you manage to boot from this disc? At the moment, there is a older installation from linaro.
[root@cubietruckplus ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 7.3G 0 disk |-mmcblk0p1 179:1 0 111.9M 0 part `-mmcblk0p2 179:2 0 7.1G 0 part mmcblk0boot0 179:8 0 4M 1 disk mmcblk0boot1 179:16 0 4M 1 disk mmcblk1 179:24 0 29G 0 disk |-mmcblk1p1 179:25 0 29M 0 part |-mmcblk1p2 179:26 0 488M 0 part /boot |-mmcblk1p3 179:27 0 244M 0 part [SWAP] `-mmcblk1p4 179:28 0 28.2G 0 part / zram0 252:0 0 954.6M 0 disk [SWAP] [root@cubietruckplus ~]#
Thanks Andreas
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip> > > Hello Pablo, > > I've bought this device 1 or 2 years ago, but didn't find any good > OS (Fedora, CentOS) for that. How to get this board with your kernel > running? Any tips or howto? > > I also have 2 Cubietruck 3 with CentOS. > Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
- (Harder)
- Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Pablo,
thank you very much for these tipps. I'm now running Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz. I think, Fedora would be better for my need (pi-hole, DNS, Print-server, Time-server, ...)
I beg to differ. Fedora roles versions every 6 months and EOLs a version in 2 years. This means you are constantly upgrading versions of important servers. Where as Centos has a 10yr EOL policy.
I only use Fedora for my notebook and when I REALLY need the current version of something (like openSSL 1.1.1 for EDDSA testing).
Get Fedora working. Work it out, then switch to Centos for production.
Just my 5cent worth.
As I can see, there is a EMMC-disc with 8 GB. Did you manage to boot from this disc? At the moment, there is a older installation from linaro.
[root@cubietruckplus ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 7.3G 0 disk |-mmcblk0p1 179:1 0 111.9M 0 part `-mmcblk0p2 179:2 0 7.1G 0 part mmcblk0boot0 179:8 0 4M 1 disk mmcblk0boot1 179:16 0 4M 1 disk mmcblk1 179:24 0 29G 0 disk |-mmcblk1p1 179:25 0 29M 0 part |-mmcblk1p2 179:26 0 488M 0 part /boot |-mmcblk1p3 179:27 0 244M 0 part [SWAP] `-mmcblk1p4 179:28 0 28.2G 0 part / zram0 252:0 0 954.6M 0 disk [SWAP] [root@cubietruckplus ~]#
Thanks Andreas _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
El 9/8/18 a las 08:58, Robert Moskowitz escribió:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip> > > Hello Pablo, > > I've bought this device 1 or 2 years ago, but didn't find any good > OS (Fedora, CentOS) for that. How to get this board with your > kernel running? Any tips or howto? > > I also have 2 Cubietruck 3 with CentOS. > Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
- (Harder)
- Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Pablo,
thank you very much for these tipps. I'm now running Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz. I think, Fedora would be better for my need (pi-hole, DNS, Print-server, Time-server, ...)
I beg to differ. Fedora roles versions every 6 months and EOLs a version in 2 years. This means you are constantly upgrading versions of important servers. Where as Centos has a 10yr EOL policy.
I only use Fedora for my notebook and when I REALLY need the current version of something (like openSSL 1.1.1 for EDDSA testing).
Get Fedora working. Work it out, then switch to Centos for production.
Just my 5cent worth.
Absolutely agreed
As I can see, there is a EMMC-disc with 8 GB. Did you manage to boot from this disc? At the moment, there is a older installation from linaro.
[root@cubietruckplus ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 7.3G 0 disk |-mmcblk0p1 179:1 0 111.9M 0 part `-mmcblk0p2 179:2 0 7.1G 0 part mmcblk0boot0 179:8 0 4M 1 disk mmcblk0boot1 179:16 0 4M 1 disk mmcblk1 179:24 0 29G 0 disk |-mmcblk1p1 179:25 0 29M 0 part |-mmcblk1p2 179:26 0 488M 0 part /boot |-mmcblk1p3 179:27 0 244M 0 part [SWAP] `-mmcblk1p4 179:28 0 28.2G 0 part / zram0 252:0 0 954.6M 0 disk [SWAP] [root@cubietruckplus ~]#
I personally only use the internal mmc for uboot only, so I know it can boot from there (at least my bpi-m2u). I think that if you just dd from the external mmc to the internal, and then remove the sd, everything should just work.
Pablo.
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip> > > Hello Pablo, > > I've bought this device 1 or 2 years ago, but didn't find any good > OS (Fedora, CentOS) for that. How to get this board with your kernel > running? Any tips or howto? > > I also have 2 Cubietruck 3 with CentOS. > Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
- (Harder)
- Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Pablo,
thank you very much for these tipps. I'm now running Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz. I think, Fedora would be better for my need (pi-hole, DNS, Print-server, Time-server, ...)
I beg to differ. Fedora roles versions every 6 months and EOLs a version in 2 years. This means you are constantly upgrading versions of important servers. Where as Centos has a 10yr EOL policy.
I only use Fedora for my notebook and when I REALLY need the current version of something (like openSSL 1.1.1 for EDDSA testing).
Get Fedora working. Work it out, then switch to Centos for production.
Just my 5cent worth.
As I can see, there is a EMMC-disc with 8 GB. Did you manage to boot from this disc? At the moment, there is a older installation from linaro.
[root@cubietruckplus ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 7.3G 0 disk |-mmcblk0p1 179:1 0 111.9M 0 part `-mmcblk0p2 179:2 0 7.1G 0 part mmcblk0boot0 179:8 0 4M 1 disk mmcblk0boot1 179:16 0 4M 1 disk mmcblk1 179:24 0 29G 0 disk |-mmcblk1p1 179:25 0 29M 0 part |-mmcblk1p2 179:26 0 488M 0 part /boot |-mmcblk1p3 179:27 0 244M 0 part [SWAP] `-mmcblk1p4 179:28 0 28.2G 0 part / zram0 252:0 0 954.6M 0 disk [SWAP] [root@cubietruckplus ~]#
Thanks Andreas _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Okay, I give CentOs on this device a try. What have I done: 1. write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on the SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 336 bytes read in 13 ms (24.4 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring unknown command: totaltimeout centos Options 1: centos Enter choice: 1: centos Retrieving file: /initramfs-4.4.34-201.el7.armv7hl.img 35020663 bytes read in 22174 ms (1.5 MiB/s) Retrieving file: /vmlinuz-4.4.34-201.el7.armv7hl 6051744 bytes read in 620 ms (9.3 MiB/s) append: enforcing=0 root=UUID=ad25a528-baf4-469c-bd12-5276e8f5f9ae Retrieving file: /dtb-4.4.34-201.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 548864 bytes read in 260 ms (2 MiB/s) ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 2 bytes read in 12 ms (0 Bytes/s) ## Executing script at 43100000 Wrong image format for "source" command SCRIPT FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. USB is stopped. Please issue 'usb start' first. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. missing environment variable: pxeuuid Retrieving file: /extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm-sunxi No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default No ethernet found. Config file not found starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. No ethernet found
Greetings Andreas
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip> > > Hello Pablo, > > I've bought this device 1 or 2 years ago, but didn't find any good > OS (Fedora, CentOS) for that. How to get this board with your > kernel running? Any tips or howto? > > I also have 2 Cubietruck 3 with CentOS. > Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
- (Harder)
- Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Pablo,
thank you very much for these tipps. I'm now running Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz. I think, Fedora would be better for my need (pi-hole, DNS, Print-server, Time-server, ...)
I beg to differ. Fedora roles versions every 6 months and EOLs a version in 2 years. This means you are constantly upgrading versions of important servers. Where as Centos has a 10yr EOL policy.
I only use Fedora for my notebook and when I REALLY need the current version of something (like openSSL 1.1.1 for EDDSA testing).
Get Fedora working. Work it out, then switch to Centos for production.
Just my 5cent worth.
As I can see, there is a EMMC-disc with 8 GB. Did you manage to boot from this disc? At the moment, there is a older installation from linaro.
[root@cubietruckplus ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 7.3G 0 disk |-mmcblk0p1 179:1 0 111.9M 0 part `-mmcblk0p2 179:2 0 7.1G 0 part mmcblk0boot0 179:8 0 4M 1 disk mmcblk0boot1 179:16 0 4M 1 disk mmcblk1 179:24 0 29G 0 disk |-mmcblk1p1 179:25 0 29M 0 part |-mmcblk1p2 179:26 0 488M 0 part /boot |-mmcblk1p3 179:27 0 244M 0 part [SWAP] `-mmcblk1p4 179:28 0 28.2G 0 part / zram0 252:0 0 954.6M 0 disk [SWAP] [root@cubietruckplus ~]#
Thanks Andreas _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Okay, I give CentOs on this device a try. What have I done:
- write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on the
SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
OK. You are using the latest uboot. Centos build only has 2018.03
Another way is to copy the uboot from Fedora:
/usr/share/uboot/Cubietruck_plus/
and dd that onto the Centos 1804 image (why are you using the old 1611 image? There were problems with it an Cubietruck+ as I recall).
Boot this and see what it does. If it fails, then copy the dtb from Fedora:
/usr/lib/modules/4.18.0-0.rc8.git0.1.fc29.armv7hl/dtb/sun8i-a83t-cubietruck-plus.dtb
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 336 bytes read in 13 ms (24.4 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring unknown command: totaltimeout centos Options 1: centos Enter choice: 1: centos Retrieving file: /initramfs-4.4.34-201.el7.armv7hl.img 35020663 bytes read in 22174 ms (1.5 MiB/s) Retrieving file: /vmlinuz-4.4.34-201.el7.armv7hl 6051744 bytes read in 620 ms (9.3 MiB/s) append: enforcing=0 root=UUID=ad25a528-baf4-469c-bd12-5276e8f5f9ae Retrieving file: /dtb-4.4.34-201.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 548864 bytes read in 260 ms (2 MiB/s) ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 2 bytes read in 12 ms (0 Bytes/s) ## Executing script at 43100000 Wrong image format for "source" command SCRIPT FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. USB is stopped. Please issue 'usb start' first. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. missing environment variable: pxeuuid Retrieving file: /extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm-sunxi No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default No ethernet found. Config file not found starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. No ethernet found
Greetings Andreas
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip>
snip
Okay, I give CentOs on this device a try. What have I done:
- write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on the
SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
OK. You are using the latest uboot. Centos build only has 2018.03
Another way is to copy the uboot from Fedora:
/usr/share/uboot/Cubietruck_plus/
and dd that onto the Centos 1804 image (why are you using the old 1611 image? There were problems with it an Cubietruck+ as I recall).
I'm using CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img.xz because of the CubieTruck in the name. With the CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz the boot process complains about missing vmlinuz-4.14.28-201.el7.centos.armv7hl
Boot this and see what it does. If it fails, then copy the dtb from Fedora:
/usr/lib/modules/4.18.0-0.rc8.git0.1.fc29.armv7hl/dtb/sun8i-a83t-cubietruck-plus.dtb
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 336 bytes read in 13 ms (24.4 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring unknown command: totaltimeout centos Options 1: centos Enter choice: 1: centos Retrieving file: /initramfs-4.4.34-201.el7.armv7hl.img 35020663 bytes read in 22174 ms (1.5 MiB/s) Retrieving file: /vmlinuz-4.4.34-201.el7.armv7hl 6051744 bytes read in 620 ms (9.3 MiB/s) append: enforcing=0 root=UUID=ad25a528-baf4-469c-bd12-5276e8f5f9ae Retrieving file: /dtb-4.4.34-201.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 548864 bytes read in 260 ms (2 MiB/s) ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 2 bytes read in 12 ms (0 Bytes/s) ## Executing script at 43100000 Wrong image format for "source" command SCRIPT FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. USB is stopped. Please issue 'usb start' first. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. missing environment variable: pxeuuid Retrieving file: /extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm-sunxi No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default No ethernet found. Config file not found starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. No ethernet found
Greetings Andreas
Andreas
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip>
snip
Okay, I give CentOs on this device a try. What have I done:
- write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on
the SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
OK. You are using the latest uboot. Centos build only has 2018.03
Another way is to copy the uboot from Fedora:
/usr/share/uboot/Cubietruck_plus/
and dd that onto the Centos 1804 image (why are you using the old 1611 image? There were problems with it an Cubietruck+ as I recall).
I'm using CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img.xz because of the CubieTruck in the name. With the CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz the boot process complains about missing vmlinuz-4.14.28-201.el7.centos.armv7hl
Read the instructions on: https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp for installing Centos generic userland.
But follow my recommendation to swipe the newer uboot from your Fedora-rawhide image, rather than installing the uboot-images on your system and only getting the 2018.03 version.
It runs fine on my Cubieboard2 and Cubietruck. I do not have a plus.
Boot this and see what it does. If it fails, then copy the dtb from Fedora:
/usr/lib/modules/4.18.0-0.rc8.git0.1.fc29.armv7hl/dtb/sun8i-a83t-cubietruck-plus.dtb
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 336 bytes read in 13 ms (24.4 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring unknown command: totaltimeout centos Options 1: centos Enter choice: 1: centos Retrieving file: /initramfs-4.4.34-201.el7.armv7hl.img 35020663 bytes read in 22174 ms (1.5 MiB/s) Retrieving file: /vmlinuz-4.4.34-201.el7.armv7hl 6051744 bytes read in 620 ms (9.3 MiB/s) append: enforcing=0 root=UUID=ad25a528-baf4-469c-bd12-5276e8f5f9ae Retrieving file: /dtb-4.4.34-201.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 548864 bytes read in 260 ms (2 MiB/s) ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 2 bytes read in 12 ms (0 Bytes/s) ## Executing script at 43100000 Wrong image format for "source" command SCRIPT FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. USB is stopped. Please issue 'usb start' first. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. missing environment variable: pxeuuid Retrieving file: /extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm-sunxi No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default No ethernet found. Config file not found starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. No ethernet found
Greetings Andreas
Andreas
El 9/8/18 a las 12:31, Robert Moskowitz escribió:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: > <snip>
snip
Okay, I give CentOs on this device a try. What have I done:
- write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on
the SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
OK. You are using the latest uboot. Centos build only has 2018.03
Another way is to copy the uboot from Fedora:
/usr/share/uboot/Cubietruck_plus/
and dd that onto the Centos 1804 image (why are you using the old 1611 image? There were problems with it an Cubietruck+ as I recall).
I'm using CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img.xz because of the CubieTruck in the name. With the CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz the boot process complains about missing vmlinuz-4.14.28-201.el7.centos.armv7hl
Read the instructions on: https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp for installing Centos generic userland.
But follow my recommendation to swipe the newer uboot from your Fedora-rawhide image, rather than installing the uboot-images on your system and only getting the 2018.03 version.
It runs fine on my Cubieboard2 and Cubietruck. I do not have a plus.
Cubietruck plus is SoC A83T, and it doesn't work with our 2018.03 uboot, but it does with 2018.05
Boot this and see what it does. If it fails, then copy the dtb from Fedora:
/usr/lib/modules/4.18.0-0.rc8.git0.1.fc29.armv7hl/dtb/sun8i-a83t-cubietruck-plus.dtb
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 336 bytes read in 13 ms (24.4 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring unknown command: totaltimeout centos Options 1: centos Enter choice: 1: centos Retrieving file: /initramfs-4.4.34-201.el7.armv7hl.img 35020663 bytes read in 22174 ms (1.5 MiB/s) Retrieving file: /vmlinuz-4.4.34-201.el7.armv7hl 6051744 bytes read in 620 ms (9.3 MiB/s) append: enforcing=0 root=UUID=ad25a528-baf4-469c-bd12-5276e8f5f9ae Retrieving file: /dtb-4.4.34-201.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 548864 bytes read in 260 ms (2 MiB/s) ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 2 bytes read in 12 ms (0 Bytes/s) ## Executing script at 43100000 Wrong image format for "source" command SCRIPT FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. USB is stopped. Please issue 'usb start' first. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. missing environment variable: pxeuuid Retrieving file: /extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm-sunxi No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default No ethernet found. Config file not found starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. No ethernet found
Greetings Andreas
Andreas
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 08/09/2018 12:30 PM, Pablo Sebastián Greco wrote:
El 9/8/18 a las 12:31, Robert Moskowitz escribió:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote: > Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: >> <snip>
snip
Okay, I give CentOs on this device a try. What have I done:
- write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on
the SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
OK. You are using the latest uboot. Centos build only has 2018.03
Another way is to copy the uboot from Fedora:
/usr/share/uboot/Cubietruck_plus/
and dd that onto the Centos 1804 image (why are you using the old 1611 image? There were problems with it an Cubietruck+ as I recall).
I'm using CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img.xz because of the CubieTruck in the name. With the CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz the boot process complains about missing vmlinuz-4.14.28-201.el7.centos.armv7hl
Read the instructions on: https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp for installing Centos generic userland.
But follow my recommendation to swipe the newer uboot from your Fedora-rawhide image, rather than installing the uboot-images on your system and only getting the 2018.03 version.
It runs fine on my Cubieboard2 and Cubietruck. I do not have a plus.
Cubietruck plus is SoC A83T, and it doesn't work with our 2018.03 uboot, but it does with 2018.05
OK. So after the dd of the generic image, dd the uboot from a Fedora image. Then boot up.
Boot this and see what it does. If it fails, then copy the dtb from Fedora:
/usr/lib/modules/4.18.0-0.rc8.git0.1.fc29.armv7hl/dtb/sun8i-a83t-cubietruck-plus.dtb
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 336 bytes read in 13 ms (24.4 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring unknown command: totaltimeout centos Options 1: centos Enter choice: 1: centos Retrieving file: /initramfs-4.4.34-201.el7.armv7hl.img 35020663 bytes read in 22174 ms (1.5 MiB/s) Retrieving file: /vmlinuz-4.4.34-201.el7.armv7hl 6051744 bytes read in 620 ms (9.3 MiB/s) append: enforcing=0 root=UUID=ad25a528-baf4-469c-bd12-5276e8f5f9ae Retrieving file: /dtb-4.4.34-201.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 548864 bytes read in 260 ms (2 MiB/s) ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... Found U-Boot script /boot.scr 2 bytes read in 12 ms (0 Bytes/s) ## Executing script at 43100000 Wrong image format for "source" command SCRIPT FAILED: continuing... switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. USB is stopped. Please issue 'usb start' first. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. missing environment variable: pxeuuid Retrieving file: /extlinux/pxelinux.cfg/00000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/000 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/00 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/0 No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm-sunxi No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default-arm No ethernet found. Retrieving file: /extlinux/pxelinux.cfg/default No ethernet found. Config file not found starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. No ethernet found. No ethernet found
Greetings Andreas
Andreas
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: > <snip>
snip
Okay, I give CentOs on this device a try. What have I done:
- write Fedora-Minimal-armhfp-Rawhide-20180802.n.0-sda.raw.xz on
the SD-card 2. delete all 4 partions 3. mount CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img as loop device 4. create 3 new partions on SD-Card (same size as CentOS-Image) 5. copy 1. and 3. partion from CentOS to SD-Card 6. copy sun8i-a83t-cubietruck-plus.dtb From Fedora to /mnt/SDCard/1/dtb-4.4.34-201.el7.armv7hl/ 7. boot from SD-Card
boot log: U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
OK. You are using the latest uboot. Centos build only has 2018.03
Another way is to copy the uboot from Fedora:
/usr/share/uboot/Cubietruck_plus/
and dd that onto the Centos 1804 image (why are you using the old 1611 image? There were problems with it an Cubietruck+ as I recall).
I'm using CentOS-Userland-7-armv7hl-Minimal-1611-CubieTruck.img.xz because of the CubieTruck in the name. With the CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz the boot process complains about missing vmlinuz-4.14.28-201.el7.centos.armv7hl
Read the instructions on: https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp for installing Centos generic userland.
But follow my recommendation to swipe the newer uboot from your Fedora-rawhide image, rather than installing the uboot-images on your system and only getting the 2018.03 version.
It runs fine on my Cubieboard2 and Cubietruck. I do not have a plus.
snip
Following the the instructions above:
[root@destn41936 ~]# xzcat CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz | dd of=/dev/sdb status=progress 2874188288 bytes (2,9 GB, 2,7 GiB) copied, 501 s, 5,7 MB/s 5615616+0 Datensätze ein 5615616+0 Datensätze aus 2875195392 bytes (2,9 GB, 2,7 GiB) copied, 534,501 s, 5,4 MB/s [root@destn41936 ~]# dd if=/usr/share/uboot/Cubietruck_plus/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 conv=fsync,notrunc 536+0 Datensätze ein 536+0 Datensätze aus 548864 bytes (549 kB, 536 KiB) copied, 0,258281 s, 2,1 MB/s [root@destn41936 ~]#
booting: U-Boot 2018.03 (Mar 20 2018 - 07:38:50 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) Loading Environment from MMC... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: data abort pc : [<bff8f5da>] lr : [<bff8f5bd>] reloc pc : [<4a01c5da>] lr : [<4a01c5bd>] sp : bbf50c40 ip : bbf5a78c fp : 00000002 r10: bffb4f18 r9 : bbf52ee0 r8 : 00000000 r7 : ffffffff r6 : bbf599dc r5 : bffb30b4 r4 : bbf597f0 r3 : ffffffff r2 : 01c00004 r1 : ffff3f8f r0 : 00000000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ...
resetting ...
Andreas
snip
Following the the instructions above:
[root@destn41936 ~]# xzcat CentOS-Userland-7-armv7hl-generic-Minimal-1804-sda.raw.xz | dd of=/dev/sdb status=progress 2874188288 bytes (2,9 GB, 2,7 GiB) copied, 501 s, 5,7 MB/s 5615616+0 Datensätze ein 5615616+0 Datensätze aus 2875195392 bytes (2,9 GB, 2,7 GiB) copied, 534,501 s, 5,4 MB/s [root@destn41936 ~]# dd if=/usr/share/uboot/Cubietruck_plus/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 conv=fsync,notrunc 536+0 Datensätze ein 536+0 Datensätze aus 548864 bytes (549 kB, 536 KiB) copied, 0,258281 s, 2,1 MB/s [root@destn41936 ~]#
booting: U-Boot 2018.03 (Mar 20 2018 - 07:38:50 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) Loading Environment from MMC... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: data abort pc : [<bff8f5da>] lr : [<bff8f5bd>] reloc pc : [<4a01c5da>] lr : [<4a01c5bd>] sp : bbf50c40 ip : bbf5a78c fp : 00000002 r10: bffb4f18 r9 : bbf52ee0 r8 : 00000000 r7 : ffffffff r6 : bbf599dc r5 : bffb30b4 r4 : bbf597f0 r3 : ffffffff r2 : 01c00004 r1 : ffff3f8f r0 : 00000000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ...
resetting ...
Andreas, the steps are correct, the only problem is that the uboot version in your host PC is not updated. You are using uboot 2018.03, which doesn't work for your device. All you nned to do is yum update "uboot*" in your host pc and repeat the uboot dd.
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: > <snip>
snip
Wow, I can boot it, but I can't login and can't install the kernel from Pablo. Whats next?
U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 857 bytes read in 16 ms (51.8 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options. 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) 2: single Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img 42665567 bytes read in 11495 ms (3.5 MiB/s) Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 10902 bytes read in 586 ms (17.6 KiB/s) ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 4774f000, end 49fff65f ... OK Loading Device Tree to 47749000, end 4774ea95 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl (mockbuild@armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. snip Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
[ 5.950324] systemd[1]: No hostname configured. [ 5.954983] systemd[1]: Set hostname to <localhost>. [ 5.960338] systemd[1]: Initializing machine ID from random generator. [ OK ] Reached target Swap. [ 6.310341] systemd[1]: Reached target Swap. [ 6.314834] systemd[1]: Starting Swap. [ OK ] Created slice Root Slice. [ 6.326288] systemd[1]: Created slice Root Slice. [ 6.331225] systemd[1]: Starting Root Slice. [ OK ] Listening on Journal Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Timers. [ OK ] Created slice System Slice. Starting Create list of required st... nodes for the current kernel... Starting Journal Service... Starting Apply Kernel Variables... [ OK ] Listening on udev Control Socket. [ OK ] Reached target Slices. [ OK ] Reached target Sockets. Starting Setup Virtual Console... [ OK ] Reached target Local File Systems. Starting dracut cmdline hook... [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Apply Kernel Variables. [ OK ] Started Setup Virtual Console. Starting Create Static Device Nodes in /dev... [ OK ] Started Journal Service. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started dracut cmdline hook. Starting dracut pre-udev hook... [ OK ] Started dracut pre-udev hook. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... [ OK ] Started udev Coldplug all Devices. Starting Show Plymouth Boot Screen... [ OK ] Reached target System Initialization. Starting dracut initqueue hook... [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Mounting Configuration File System... [ OK ] Mounted Configuration File System. [ 9.258492] ehci-platform: EHCI generic platform driver [ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24 [ 9.401563] mmc0: host does not support reading read-only switch, assuming write-enable [ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25 [ 9.418906] mmc0: new high speed SDHC card at address 0007 [ 9.488974] mmc1: new DDR MMC card at address 0001 [ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 9.720620] mmcblk0: p1 p2 p3 p4 [ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB [ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 9.754396] mmcblk1: p1 p2 [ OK ] Found device /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1. [ OK ] Started dracut initqueue hook. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting File System Check on /dev/...3-4823-4fb7-ab52-46f2e9fcaae1... [ OK ] Started File System Check on /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1. Mounting /sysroot... [ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null) [ OK ] Mounted /sysroot. [ OK ] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [ OK ] Started Reload Configuration from the Real Root. [ OK ] Reached target Initrd File Systems. [ OK ] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [ OK ] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [ OK ] Stopped Cleaning Up and Shutting Down Daemons. [ OK ] Stopped dracut pre-pivot and cleanup hook. Stopping dracut pre-pivot and cleanup hook... [ OK ] Stopped target Initrd Default Target. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target System Initialization. Stopping udev Kernel Device Manager... [ OK ] Stopped target Swap. [ OK ] Stopped target Slices. [ OK ] Stopped target Sockets. [ OK ] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [ OK ] Stopped target Timers. [ OK ] Stopped target Local File Systems. Starting Plymouth switch root service... [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped dracut initqueue hook. Stopping dracut initqueue hook... [ OK ] Stopped udev Coldplug all Devices. Stopping udev Coldplug all Devices... [ OK ] Stopped udev Kernel Device Manager. snip Welcome to CentOS Linux 7 (Core)!
[ OK ] Stopped Switch Root. [ OK ] Stopped Journal Service. Starting Journal Service... [ OK ] Reached target Local Encrypted Volumes. [ OK ] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. Mounting Debug File System... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Stopped target Switch Root. [ OK ] Stopped target Initrd File Systems. [ OK ] Stopped target Initrd Root File System. [ OK ] Stopped File System Check on Root Device. Stopping File System Check on Root Device... [ OK ] Listening on udev Kernel Socket. [ OK ] Created slice system-getty.slice. Starting Read and set NIS domainname from /etc/sysconfig/network... Starting Collect Read-Ahead Data... [ OK ] Listening on Delayed Shutdown Socket. Mounting POSIX Message Queue File System... [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on udev Control Socket. Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Paths. Starting Replay Read-Ahead Data... [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Journal Service. [ OK ] Started Collect Read-Ahead Data. [ OK ] Started Replay Read-Ahead Data. [ OK ] Started Read and set NIS domainname from /etc/sysconfig/network. [ OK ] Started Create list of required sta...ce nodes for the current kernel. Starting Remount Root and Kernel File Systems... Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... [ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) [ OK ] Started Apply Kernel Variables. [ OK ] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Configure read-only root support... Starting Flush Journal to Persistent Storage... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load/Save Random Seed. [ 17.818547] systemd-journald[427]: Received request to flush runtime journal from PID 1 [ OK ] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Configure read-only root support. [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ 19.146181] cpu cpu0: failed to get clock: -2 [ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2 [ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller [ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 19.775259] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.789508] usb usb1: Product: EHCI Host Controller [ 19.794416] usb usb1: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.801926] usb usb1: SerialNumber: 1c1a000.usb [ 19.844670] hub 1-0:1.0: USB hub found [ 19.854212] hub 1-0:1.0: 1 port detected [ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller [ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000 [ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 19.936351] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.950493] usb usb2: Product: EHCI Host Controller [ 19.955399] usb usb2: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.962907] usb usb2: SerialNumber: 1c1b000.usb [ 20.008450] hub 2-0:1.0: USB hub found [ 20.019233] hub 2-0:1.0: 1 port detected [ OK ] Found device /dev/ttyS0. [ 20.253371] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 20.350267] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 20.397887] usb 1-1: New USB device found, idVendor=05e3, idProduct=0718 [ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 20.412007] usb 1-1: Product: USB Storage [ 20.416058] usb 1-1: SerialNumber: 000000000033 [ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz [ 20.492897] usb 2-1: New USB device found, idVendor=0424, idProduct=3503 [ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 20.523676] hub 2-1:1.0: USB hub found [ 20.535200] hub 2-1:1.0: 2 ports detected [ 20.626373] usb3503 usb-hub: Ports disabled with no control interface [ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2. [ 20.760223] usb3503 usb-hub: switched to HUB mode [ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode [ OK ] Found device /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df. Mounting /boot... [ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [FAILED] Failed to mount /boot. See 'systemctl status boot.mount' for details. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Relabel all filesystems, if necessary. [DEPEND] Dependency failed for Migrate local... structure to the new structure. [DEPEND] Dependency failed for /boot/fw. [ OK ] Reached target Timers. [ OK ] Reached target Network (Pre). [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target Login Prompts. Starting Crash recovery kernel arming... [ OK ] Reached target Sockets. Starting Import network configuration from initramfs... Starting Tell Plymouth To Write Out Runtime Data... [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Found device /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. Activating swap /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618... [ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2 extents:1 across:249852k SSFS [ OK ] Activated swap /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. [ OK ] Reached target Swap. [FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details. [ OK ] Started Import network configuration from initramfs. [ OK ] Started Emergency Shell. Starting Emergency Shell... [ OK ] Reached target Emergency Mode. Starting Create Volatile Files and Directories... [ 23.733719] random: crng init done [ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found [ OK ] Started Create Volatile Files and Directories. Starting Security Auditing Service... [ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded [ OK ] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): [ 26.911598] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0 [ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as rtc0 [ 27.163368] ac100-rtc ac100-rtc: RTC enabled [ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected [ 27.317836] scsi host0: usb-storage 1-1:1.0 [ 27.372202] usbcore: registered new interface driver usb-storage [ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok [ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name! [ 27.540329] usbcore: registered new interface driver uas
sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) [ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
On 08/10/2018 08:17 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz:
On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote: > Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: >> <snip>
snip
Wow, I can boot it, but I can't login and can't install the kernel from Pablo. Whats next?
U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
Good you got the current uboot.
DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus
Do you have any other arm soc? If you put that cards uboot on, boot up on that card, install the new kernel, then go back to the Cubietruck+ uboot, that would work.
Pablo may know of a simpler method, as I don't do kernel work. I did work a lot with uboot a couple years ago.
I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 857 bytes read in 16 ms (51.8 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options. 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) 2: single Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img 42665567 bytes read in 11495 ms (3.5 MiB/s) Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 10902 bytes read in 586 ms (17.6 KiB/s) ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 4774f000, end 49fff65f ... OK Loading Device Tree to 47749000, end 4774ea95 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl (mockbuild@armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. snip Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
[ 5.950324] systemd[1]: No hostname configured. [ 5.954983] systemd[1]: Set hostname to <localhost>. [ 5.960338] systemd[1]: Initializing machine ID from random generator. [ OK ] Reached target Swap. [ 6.310341] systemd[1]: Reached target Swap. [ 6.314834] systemd[1]: Starting Swap. [ OK ] Created slice Root Slice. [ 6.326288] systemd[1]: Created slice Root Slice. [ 6.331225] systemd[1]: Starting Root Slice. [ OK ] Listening on Journal Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Timers. [ OK ] Created slice System Slice. Starting Create list of required st... nodes for the current kernel... Starting Journal Service... Starting Apply Kernel Variables... [ OK ] Listening on udev Control Socket. [ OK ] Reached target Slices. [ OK ] Reached target Sockets. Starting Setup Virtual Console... [ OK ] Reached target Local File Systems. Starting dracut cmdline hook... [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Apply Kernel Variables. [ OK ] Started Setup Virtual Console. Starting Create Static Device Nodes in /dev... [ OK ] Started Journal Service. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started dracut cmdline hook. Starting dracut pre-udev hook... [ OK ] Started dracut pre-udev hook. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... [ OK ] Started udev Coldplug all Devices. Starting Show Plymouth Boot Screen... [ OK ] Reached target System Initialization. Starting dracut initqueue hook... [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Mounting Configuration File System... [ OK ] Mounted Configuration File System. [ 9.258492] ehci-platform: EHCI generic platform driver [ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24 [ 9.401563] mmc0: host does not support reading read-only switch, assuming write-enable [ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25 [ 9.418906] mmc0: new high speed SDHC card at address 0007 [ 9.488974] mmc1: new DDR MMC card at address 0001 [ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 9.720620] mmcblk0: p1 p2 p3 p4 [ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB [ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 9.754396] mmcblk1: p1 p2 [ OK ] Found device /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1. [ OK ] Started dracut initqueue hook. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting File System Check on /dev/...3-4823-4fb7-ab52-46f2e9fcaae1... [ OK ] Started File System Check on /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1. Mounting /sysroot... [ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null) [ OK ] Mounted /sysroot. [ OK ] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [ OK ] Started Reload Configuration from the Real Root. [ OK ] Reached target Initrd File Systems. [ OK ] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [ OK ] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [ OK ] Stopped Cleaning Up and Shutting Down Daemons. [ OK ] Stopped dracut pre-pivot and cleanup hook. Stopping dracut pre-pivot and cleanup hook... [ OK ] Stopped target Initrd Default Target. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target System Initialization. Stopping udev Kernel Device Manager... [ OK ] Stopped target Swap. [ OK ] Stopped target Slices. [ OK ] Stopped target Sockets. [ OK ] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [ OK ] Stopped target Timers. [ OK ] Stopped target Local File Systems. Starting Plymouth switch root service... [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped dracut initqueue hook. Stopping dracut initqueue hook... [ OK ] Stopped udev Coldplug all Devices. Stopping udev Coldplug all Devices... [ OK ] Stopped udev Kernel Device Manager. snip Welcome to CentOS Linux 7 (Core)!
[ OK ] Stopped Switch Root. [ OK ] Stopped Journal Service. Starting Journal Service... [ OK ] Reached target Local Encrypted Volumes. [ OK ] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. Mounting Debug File System... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Stopped target Switch Root. [ OK ] Stopped target Initrd File Systems. [ OK ] Stopped target Initrd Root File System. [ OK ] Stopped File System Check on Root Device. Stopping File System Check on Root Device... [ OK ] Listening on udev Kernel Socket. [ OK ] Created slice system-getty.slice. Starting Read and set NIS domainname from /etc/sysconfig/network... Starting Collect Read-Ahead Data... [ OK ] Listening on Delayed Shutdown Socket. Mounting POSIX Message Queue File System... [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on udev Control Socket. Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Paths. Starting Replay Read-Ahead Data... [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Journal Service. [ OK ] Started Collect Read-Ahead Data. [ OK ] Started Replay Read-Ahead Data. [ OK ] Started Read and set NIS domainname from /etc/sysconfig/network. [ OK ] Started Create list of required sta...ce nodes for the current kernel. Starting Remount Root and Kernel File Systems... Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... [ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) [ OK ] Started Apply Kernel Variables. [ OK ] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Configure read-only root support... Starting Flush Journal to Persistent Storage... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load/Save Random Seed. [ 17.818547] systemd-journald[427]: Received request to flush runtime journal from PID 1 [ OK ] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Configure read-only root support. [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ 19.146181] cpu cpu0: failed to get clock: -2 [ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2 [ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller [ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 19.775259] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.789508] usb usb1: Product: EHCI Host Controller [ 19.794416] usb usb1: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.801926] usb usb1: SerialNumber: 1c1a000.usb [ 19.844670] hub 1-0:1.0: USB hub found [ 19.854212] hub 1-0:1.0: 1 port detected [ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller [ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000 [ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 19.936351] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.950493] usb usb2: Product: EHCI Host Controller [ 19.955399] usb usb2: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.962907] usb usb2: SerialNumber: 1c1b000.usb [ 20.008450] hub 2-0:1.0: USB hub found [ 20.019233] hub 2-0:1.0: 1 port detected [ OK ] Found device /dev/ttyS0. [ 20.253371] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 20.350267] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 20.397887] usb 1-1: New USB device found, idVendor=05e3, idProduct=0718 [ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 20.412007] usb 1-1: Product: USB Storage [ 20.416058] usb 1-1: SerialNumber: 000000000033 [ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz [ 20.492897] usb 2-1: New USB device found, idVendor=0424, idProduct=3503 [ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 20.523676] hub 2-1:1.0: USB hub found [ 20.535200] hub 2-1:1.0: 2 ports detected [ 20.626373] usb3503 usb-hub: Ports disabled with no control interface [ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2. [ 20.760223] usb3503 usb-hub: switched to HUB mode [ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode [ OK ] Found device /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df. Mounting /boot... [ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [FAILED] Failed to mount /boot. See 'systemctl status boot.mount' for details. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Relabel all filesystems, if necessary. [DEPEND] Dependency failed for Migrate local... structure to the new structure. [DEPEND] Dependency failed for /boot/fw. [ OK ] Reached target Timers. [ OK ] Reached target Network (Pre). [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target Login Prompts. Starting Crash recovery kernel arming... [ OK ] Reached target Sockets. Starting Import network configuration from initramfs... Starting Tell Plymouth To Write Out Runtime Data... [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Found device /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. Activating swap /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618... [ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2 extents:1 across:249852k SSFS [ OK ] Activated swap /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. [ OK ] Reached target Swap. [FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details. [ OK ] Started Import network configuration from initramfs. [ OK ] Started Emergency Shell. Starting Emergency Shell... [ OK ] Reached target Emergency Mode. Starting Create Volatile Files and Directories... [ 23.733719] random: crng init done [ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found [ OK ] Started Create Volatile Files and Directories. Starting Security Auditing Service... [ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded [ OK ] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): [ 26.911598] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0 [ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as rtc0 [ 27.163368] ac100-rtc ac100-rtc: RTC enabled [ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected [ 27.317836] scsi host0: usb-storage 1-1:1.0 [ 27.372202] usbcore: registered new interface driver usb-storage [ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok [ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name! [ 27.540329] usbcore: registered new interface driver uas
sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) [ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
Am 10.08.2018 um 14:36 schrieb Robert Moskowitz:
On 08/10/2018 08:17 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 13:58, schrieb Robert Moskowitz: > On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote: >> Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: >>> <snip>
snip
Wow, I can boot it, but I can't login and can't install the kernel from Pablo. Whats next?
U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
Good you got the current uboot.
DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus
Do you have any other arm soc? If you put that cards uboot on, boot up on that card, install the new kernel, then go back to the Cubietruck+ uboot, that would work.
Pablo may know of a simpler method, as I don't do kernel work. I did work a lot with uboot a couple years ago.
Sorry: this didn't work, because this Image didn't boot on my Cubietruck 3. Maybe Pablo has an Idea?
I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 857 bytes read in 16 ms (51.8 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options. 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) 2: single Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img 42665567 bytes read in 11495 ms (3.5 MiB/s) Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 10902 bytes read in 586 ms (17.6 KiB/s) ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 4774f000, end 49fff65f ... OK Loading Device Tree to 47749000, end 4774ea95 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl (mockbuild@armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. snip Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
[ 5.950324] systemd[1]: No hostname configured. [ 5.954983] systemd[1]: Set hostname to <localhost>. [ 5.960338] systemd[1]: Initializing machine ID from random generator. [ OK ] Reached target Swap. [ 6.310341] systemd[1]: Reached target Swap. [ 6.314834] systemd[1]: Starting Swap. [ OK ] Created slice Root Slice. [ 6.326288] systemd[1]: Created slice Root Slice. [ 6.331225] systemd[1]: Starting Root Slice. [ OK ] Listening on Journal Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Timers. [ OK ] Created slice System Slice. Starting Create list of required st... nodes for the current kernel... Starting Journal Service... Starting Apply Kernel Variables... [ OK ] Listening on udev Control Socket. [ OK ] Reached target Slices. [ OK ] Reached target Sockets. Starting Setup Virtual Console... [ OK ] Reached target Local File Systems. Starting dracut cmdline hook... [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Apply Kernel Variables. [ OK ] Started Setup Virtual Console. Starting Create Static Device Nodes in /dev... [ OK ] Started Journal Service. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started dracut cmdline hook. Starting dracut pre-udev hook... [ OK ] Started dracut pre-udev hook. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... [ OK ] Started udev Coldplug all Devices. Starting Show Plymouth Boot Screen... [ OK ] Reached target System Initialization. Starting dracut initqueue hook... [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Mounting Configuration File System... [ OK ] Mounted Configuration File System. [ 9.258492] ehci-platform: EHCI generic platform driver [ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24 [ 9.401563] mmc0: host does not support reading read-only switch, assuming write-enable [ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25 [ 9.418906] mmc0: new high speed SDHC card at address 0007 [ 9.488974] mmc1: new DDR MMC card at address 0001 [ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 9.720620] mmcblk0: p1 p2 p3 p4 [ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB [ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 9.754396] mmcblk1: p1 p2 [ OK ] Found device /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1. [ OK ] Started dracut initqueue hook. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting File System Check on /dev/...3-4823-4fb7-ab52-46f2e9fcaae1... [ OK ] Started File System Check on /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1. Mounting /sysroot... [ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null) [ OK ] Mounted /sysroot. [ OK ] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [ OK ] Started Reload Configuration from the Real Root. [ OK ] Reached target Initrd File Systems. [ OK ] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [ OK ] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [ OK ] Stopped Cleaning Up and Shutting Down Daemons. [ OK ] Stopped dracut pre-pivot and cleanup hook. Stopping dracut pre-pivot and cleanup hook... [ OK ] Stopped target Initrd Default Target. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target System Initialization. Stopping udev Kernel Device Manager... [ OK ] Stopped target Swap. [ OK ] Stopped target Slices. [ OK ] Stopped target Sockets. [ OK ] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [ OK ] Stopped target Timers. [ OK ] Stopped target Local File Systems. Starting Plymouth switch root service... [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped dracut initqueue hook. Stopping dracut initqueue hook... [ OK ] Stopped udev Coldplug all Devices. Stopping udev Coldplug all Devices... [ OK ] Stopped udev Kernel Device Manager. snip Welcome to CentOS Linux 7 (Core)!
[ OK ] Stopped Switch Root. [ OK ] Stopped Journal Service. Starting Journal Service... [ OK ] Reached target Local Encrypted Volumes. [ OK ] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. Mounting Debug File System... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Stopped target Switch Root. [ OK ] Stopped target Initrd File Systems. [ OK ] Stopped target Initrd Root File System. [ OK ] Stopped File System Check on Root Device. Stopping File System Check on Root Device... [ OK ] Listening on udev Kernel Socket. [ OK ] Created slice system-getty.slice. Starting Read and set NIS domainname from /etc/sysconfig/network... Starting Collect Read-Ahead Data... [ OK ] Listening on Delayed Shutdown Socket. Mounting POSIX Message Queue File System... [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on udev Control Socket. Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Paths. Starting Replay Read-Ahead Data... [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Journal Service. [ OK ] Started Collect Read-Ahead Data. [ OK ] Started Replay Read-Ahead Data. [ OK ] Started Read and set NIS domainname from /etc/sysconfig/network. [ OK ] Started Create list of required sta...ce nodes for the current kernel. Starting Remount Root and Kernel File Systems... Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... [ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) [ OK ] Started Apply Kernel Variables. [ OK ] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Configure read-only root support... Starting Flush Journal to Persistent Storage... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load/Save Random Seed. [ 17.818547] systemd-journald[427]: Received request to flush runtime journal from PID 1 [ OK ] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Configure read-only root support. [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ 19.146181] cpu cpu0: failed to get clock: -2 [ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2 [ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller [ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 19.775259] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.789508] usb usb1: Product: EHCI Host Controller [ 19.794416] usb usb1: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.801926] usb usb1: SerialNumber: 1c1a000.usb [ 19.844670] hub 1-0:1.0: USB hub found [ 19.854212] hub 1-0:1.0: 1 port detected [ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller [ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000 [ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 19.936351] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.950493] usb usb2: Product: EHCI Host Controller [ 19.955399] usb usb2: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.962907] usb usb2: SerialNumber: 1c1b000.usb [ 20.008450] hub 2-0:1.0: USB hub found [ 20.019233] hub 2-0:1.0: 1 port detected [ OK ] Found device /dev/ttyS0. [ 20.253371] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 20.350267] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 20.397887] usb 1-1: New USB device found, idVendor=05e3, idProduct=0718 [ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 20.412007] usb 1-1: Product: USB Storage [ 20.416058] usb 1-1: SerialNumber: 000000000033 [ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz [ 20.492897] usb 2-1: New USB device found, idVendor=0424, idProduct=3503 [ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 20.523676] hub 2-1:1.0: USB hub found [ 20.535200] hub 2-1:1.0: 2 ports detected [ 20.626373] usb3503 usb-hub: Ports disabled with no control interface [ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2. [ 20.760223] usb3503 usb-hub: switched to HUB mode [ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode [ OK ] Found device /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df. Mounting /boot... [ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [FAILED] Failed to mount /boot. See 'systemctl status boot.mount' for details. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Relabel all filesystems, if necessary. [DEPEND] Dependency failed for Migrate local... structure to the new structure. [DEPEND] Dependency failed for /boot/fw. [ OK ] Reached target Timers. [ OK ] Reached target Network (Pre). [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target Login Prompts. Starting Crash recovery kernel arming... [ OK ] Reached target Sockets. Starting Import network configuration from initramfs... Starting Tell Plymouth To Write Out Runtime Data... [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Found device /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. Activating swap /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618... [ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2 extents:1 across:249852k SSFS [ OK ] Activated swap /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. [ OK ] Reached target Swap. [FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details. [ OK ] Started Import network configuration from initramfs. [ OK ] Started Emergency Shell. Starting Emergency Shell... [ OK ] Reached target Emergency Mode. Starting Create Volatile Files and Directories... [ 23.733719] random: crng init done [ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found [ OK ] Started Create Volatile Files and Directories. Starting Security Auditing Service... [ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded [ OK ] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): [ 26.911598] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0 [ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as rtc0 [ 27.163368] ac100-rtc ac100-rtc: RTC enabled [ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected [ 27.317836] scsi host0: usb-storage 1-1:1.0 [ 27.372202] usbcore: registered new interface driver usb-storage [ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok [ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name! [ 27.540329] usbcore: registered new interface driver uas
sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) [ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
On 08/10/2018 08:51 AM, Andreas Reschke wrote:
Am 10.08.2018 um 14:36 schrieb Robert Moskowitz:
On 08/10/2018 08:17 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz:
On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote: > Am 2018-08-09 13:58, schrieb Robert Moskowitz: >> On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote: >>> Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: >>>> <snip>
snip
Wow, I can boot it, but I can't login and can't install the kernel from Pablo. Whats next?
U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
Good you got the current uboot.
DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus
Do you have any other arm soc? If you put that cards uboot on, boot up on that card, install the new kernel, then go back to the Cubietruck+ uboot, that would work.
Pablo may know of a simpler method, as I don't do kernel work. I did work a lot with uboot a couple years ago.
Sorry: this didn't work, because this Image didn't boot on my Cubietruck 3. Maybe Pablo has an Idea?
Did you dd the Cubietruck uboot? I have booted on my C3.
Though there may be a 1st boot problem here on things that are copied during 1st boot based on what uboot is present. In that case, things are really hard, and quite beyond my limited skills.
I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 857 bytes read in 16 ms (51.8 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options. 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) 2: single Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img 42665567 bytes read in 11495 ms (3.5 MiB/s) Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 10902 bytes read in 586 ms (17.6 KiB/s) ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 4774f000, end 49fff65f ... OK Loading Device Tree to 47749000, end 4774ea95 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl (mockbuild@armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. snip Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
[ 5.950324] systemd[1]: No hostname configured. [ 5.954983] systemd[1]: Set hostname to <localhost>. [ 5.960338] systemd[1]: Initializing machine ID from random generator. [ OK ] Reached target Swap. [ 6.310341] systemd[1]: Reached target Swap. [ 6.314834] systemd[1]: Starting Swap. [ OK ] Created slice Root Slice. [ 6.326288] systemd[1]: Created slice Root Slice. [ 6.331225] systemd[1]: Starting Root Slice. [ OK ] Listening on Journal Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Timers. [ OK ] Created slice System Slice. Starting Create list of required st... nodes for the current kernel... Starting Journal Service... Starting Apply Kernel Variables... [ OK ] Listening on udev Control Socket. [ OK ] Reached target Slices. [ OK ] Reached target Sockets. Starting Setup Virtual Console... [ OK ] Reached target Local File Systems. Starting dracut cmdline hook... [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Apply Kernel Variables. [ OK ] Started Setup Virtual Console. Starting Create Static Device Nodes in /dev... [ OK ] Started Journal Service. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started dracut cmdline hook. Starting dracut pre-udev hook... [ OK ] Started dracut pre-udev hook. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... [ OK ] Started udev Coldplug all Devices. Starting Show Plymouth Boot Screen... [ OK ] Reached target System Initialization. Starting dracut initqueue hook... [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Mounting Configuration File System... [ OK ] Mounted Configuration File System. [ 9.258492] ehci-platform: EHCI generic platform driver [ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24 [ 9.401563] mmc0: host does not support reading read-only switch, assuming write-enable [ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25 [ 9.418906] mmc0: new high speed SDHC card at address 0007 [ 9.488974] mmc1: new DDR MMC card at address 0001 [ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 9.720620] mmcblk0: p1 p2 p3 p4 [ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB [ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 9.754396] mmcblk1: p1 p2 [ OK ] Found device /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1. [ OK ] Started dracut initqueue hook. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting File System Check on /dev/...3-4823-4fb7-ab52-46f2e9fcaae1... [ OK ] Started File System Check on /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1. Mounting /sysroot... [ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null) [ OK ] Mounted /sysroot. [ OK ] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [ OK ] Started Reload Configuration from the Real Root. [ OK ] Reached target Initrd File Systems. [ OK ] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [ OK ] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [ OK ] Stopped Cleaning Up and Shutting Down Daemons. [ OK ] Stopped dracut pre-pivot and cleanup hook. Stopping dracut pre-pivot and cleanup hook... [ OK ] Stopped target Initrd Default Target. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target System Initialization. Stopping udev Kernel Device Manager... [ OK ] Stopped target Swap. [ OK ] Stopped target Slices. [ OK ] Stopped target Sockets. [ OK ] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [ OK ] Stopped target Timers. [ OK ] Stopped target Local File Systems. Starting Plymouth switch root service... [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped dracut initqueue hook. Stopping dracut initqueue hook... [ OK ] Stopped udev Coldplug all Devices. Stopping udev Coldplug all Devices... [ OK ] Stopped udev Kernel Device Manager. snip Welcome to CentOS Linux 7 (Core)!
[ OK ] Stopped Switch Root. [ OK ] Stopped Journal Service. Starting Journal Service... [ OK ] Reached target Local Encrypted Volumes. [ OK ] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. Mounting Debug File System... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Stopped target Switch Root. [ OK ] Stopped target Initrd File Systems. [ OK ] Stopped target Initrd Root File System. [ OK ] Stopped File System Check on Root Device. Stopping File System Check on Root Device... [ OK ] Listening on udev Kernel Socket. [ OK ] Created slice system-getty.slice. Starting Read and set NIS domainname from /etc/sysconfig/network... Starting Collect Read-Ahead Data... [ OK ] Listening on Delayed Shutdown Socket. Mounting POSIX Message Queue File System... [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on udev Control Socket. Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Paths. Starting Replay Read-Ahead Data... [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Journal Service. [ OK ] Started Collect Read-Ahead Data. [ OK ] Started Replay Read-Ahead Data. [ OK ] Started Read and set NIS domainname from /etc/sysconfig/network. [ OK ] Started Create list of required sta...ce nodes for the current kernel. Starting Remount Root and Kernel File Systems... Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... [ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) [ OK ] Started Apply Kernel Variables. [ OK ] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Configure read-only root support... Starting Flush Journal to Persistent Storage... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load/Save Random Seed. [ 17.818547] systemd-journald[427]: Received request to flush runtime journal from PID 1 [ OK ] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Configure read-only root support. [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ 19.146181] cpu cpu0: failed to get clock: -2 [ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2 [ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller [ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 19.775259] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.789508] usb usb1: Product: EHCI Host Controller [ 19.794416] usb usb1: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.801926] usb usb1: SerialNumber: 1c1a000.usb [ 19.844670] hub 1-0:1.0: USB hub found [ 19.854212] hub 1-0:1.0: 1 port detected [ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller [ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000 [ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 19.936351] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.950493] usb usb2: Product: EHCI Host Controller [ 19.955399] usb usb2: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.962907] usb usb2: SerialNumber: 1c1b000.usb [ 20.008450] hub 2-0:1.0: USB hub found [ 20.019233] hub 2-0:1.0: 1 port detected [ OK ] Found device /dev/ttyS0. [ 20.253371] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 20.350267] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 20.397887] usb 1-1: New USB device found, idVendor=05e3, idProduct=0718 [ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 20.412007] usb 1-1: Product: USB Storage [ 20.416058] usb 1-1: SerialNumber: 000000000033 [ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz [ 20.492897] usb 2-1: New USB device found, idVendor=0424, idProduct=3503 [ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 20.523676] hub 2-1:1.0: USB hub found [ 20.535200] hub 2-1:1.0: 2 ports detected [ 20.626373] usb3503 usb-hub: Ports disabled with no control interface [ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2. [ 20.760223] usb3503 usb-hub: switched to HUB mode [ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode [ OK ] Found device /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df. Mounting /boot... [ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [FAILED] Failed to mount /boot. See 'systemctl status boot.mount' for details. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Relabel all filesystems, if necessary. [DEPEND] Dependency failed for Migrate local... structure to the new structure. [DEPEND] Dependency failed for /boot/fw. [ OK ] Reached target Timers. [ OK ] Reached target Network (Pre). [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target Login Prompts. Starting Crash recovery kernel arming... [ OK ] Reached target Sockets. Starting Import network configuration from initramfs... Starting Tell Plymouth To Write Out Runtime Data... [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Found device /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. Activating swap /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618... [ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2 extents:1 across:249852k SSFS [ OK ] Activated swap /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. [ OK ] Reached target Swap. [FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details. [ OK ] Started Import network configuration from initramfs. [ OK ] Started Emergency Shell. Starting Emergency Shell... [ OK ] Reached target Emergency Mode. Starting Create Volatile Files and Directories... [ 23.733719] random: crng init done [ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found [ OK ] Started Create Volatile Files and Directories. Starting Security Auditing Service... [ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded [ OK ] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): [ 26.911598] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0 [ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as rtc0 [ 27.163368] ac100-rtc ac100-rtc: RTC enabled [ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected [ 27.317836] scsi host0: usb-storage 1-1:1.0 [ 27.372202] usbcore: registered new interface driver usb-storage [ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok [ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name! [ 27.540329] usbcore: registered new interface driver uas
sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) [ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
El 10/8/18 a las 10:18, Robert Moskowitz escribió:
On 08/10/2018 08:51 AM, Andreas Reschke wrote:
Am 10.08.2018 um 14:36 schrieb Robert Moskowitz:
On 08/10/2018 08:17 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 17:31, schrieb Robert Moskowitz:
On 08/09/2018 11:21 AM, arm_ml@rirasoft.de wrote:
Am 2018-08-09 16:57, schrieb Robert Moskowitz: > On 08/09/2018 10:31 AM, arm_ml@rirasoft.de wrote: >> Am 2018-08-09 13:58, schrieb Robert Moskowitz: >>> On 08/09/2018 07:34 AM, arm_ml@rirasoft.de wrote: >>>> Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco: >>>>> <snip> snip
Wow, I can boot it, but I can't login and can't install the kernel from Pablo. Whats next?
U-Boot SPL 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000)
Good you got the current uboot.
DRAM: 2048 MiB Trying to boot from MMC1
U-Boot 2018.09-rc1 (Jul 31 2018 - 12:18:07 +0000) Allwinner Technology
CPU: Allwinner A83T (SUN8I 1673) Model: Cubietech Cubietruck Plus
Do you have any other arm soc? If you put that cards uboot on, boot up on that card, install the new kernel, then go back to the Cubietruck+ uboot, that would work.
Pablo may know of a simpler method, as I don't do kernel work. I did work a lot with uboot a couple years ago.
Sorry: this didn't work, because this Image didn't boot on my Cubietruck 3. Maybe Pablo has an Idea?
Did you dd the Cubietruck uboot? I have booted on my C3.
Though there may be a 1st boot problem here on things that are copied during 1st boot based on what uboot is present. In that case, things are really hard, and quite beyond my limited skills.
I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
Failed (-5) In: serial Out: serial Err: serial Net: No ethernet found. starting USB... USB0: failed to get usb PHY Port not available. USB1: failed to get usb@01c1a000 usb PHY Port not available. USB2: failed to get usb@01c1b000 usb PHY Port not available. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 857 bytes read in 16 ms (51.8 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options. 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) 2: single Enter choice: 1: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) Retrieving file: /initramfs-4.14.28-201.el7.centos.armv7hl.img 42665567 bytes read in 11495 ms (3.5 MiB/s) Retrieving file: /vmlinuz-4.14.28-201.el7.centos.armv7hl 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 6627840 bytes read in 682 ms (9.3 MiB/s) append: ro root=UUID=e4d55603-4823-4fb7-ab52-46f2e9fcaae1 selinux=off Retrieving file: /dtb-4.14.28-201.el7.centos.armv7hl/sun8i-a83t-cubietruck-plus.dtb 10902 bytes read in 586 ms (17.6 KiB/s) ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 4774f000, end 49fff65f ... OK Loading Device Tree to 47749000, end 4774ea95 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.28-201.el7.centos.armv7hl (mockbuild@armhfp-02.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)) #1 SMP Mon Mar 19 20:25:46 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. snip Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!
[ 5.950324] systemd[1]: No hostname configured. [ 5.954983] systemd[1]: Set hostname to <localhost>. [ 5.960338] systemd[1]: Initializing machine ID from random generator. [ OK ] Reached target Swap. [ 6.310341] systemd[1]: Reached target Swap. [ 6.314834] systemd[1]: Starting Swap. [ OK ] Created slice Root Slice. [ 6.326288] systemd[1]: Created slice Root Slice. [ 6.331225] systemd[1]: Starting Root Slice. [ OK ] Listening on Journal Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Timers. [ OK ] Created slice System Slice. Starting Create list of required st... nodes for the current kernel... Starting Journal Service... Starting Apply Kernel Variables... [ OK ] Listening on udev Control Socket. [ OK ] Reached target Slices. [ OK ] Reached target Sockets. Starting Setup Virtual Console... [ OK ] Reached target Local File Systems. Starting dracut cmdline hook... [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Apply Kernel Variables. [ OK ] Started Setup Virtual Console. Starting Create Static Device Nodes in /dev... [ OK ] Started Journal Service. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started dracut cmdline hook. Starting dracut pre-udev hook... [ OK ] Started dracut pre-udev hook. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... [ OK ] Started udev Coldplug all Devices. Starting Show Plymouth Boot Screen... [ OK ] Reached target System Initialization. Starting dracut initqueue hook... [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Mounting Configuration File System... [ OK ] Mounted Configuration File System. [ 9.258492] ehci-platform: EHCI generic platform driver [ 9.310921] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 9.353339] sunxi-mmc 1c0f000.mmc: base:0xf0b41000 irq:24 [ 9.401563] mmc0: host does not support reading read-only switch, assuming write-enable [ 9.409746] sunxi-mmc 1c11000.mmc: base:0xf0b45000 irq:25 [ 9.418906] mmc0: new high speed SDHC card at address 0007 [ 9.488974] mmc1: new DDR MMC card at address 0001 [ 9.710645] mmcblk0: mmc0:0007 SD32G 29.0 GiB [ 9.720620] mmcblk0: p1 p2 p3 p4 [ 9.731581] mmcblk1: mmc1:0001 NCard 7.30 GiB [ 9.736734] mmcblk1boot0: mmc1:0001 NCard partition 1 4.00 MiB [ 9.744053] mmcblk1boot1: mmc1:0001 NCard partition 2 4.00 MiB [ 9.754396] mmcblk1: p1 p2 [ OK ] Found device /dev/disk/by-uuid/e4d55603-4823-4fb7-ab52-46f2e9fcaae1. [ OK ] Started dracut initqueue hook. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting File System Check on /dev/...3-4823-4fb7-ab52-46f2e9fcaae1... [ OK ] Started File System Check on /dev/d...603-4823-4fb7-ab52-46f2e9fcaae1. Mounting /sysroot... [ 10.483219] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null) [ OK ] Mounted /sysroot. [ OK ] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [ OK ] Started Reload Configuration from the Real Root. [ OK ] Reached target Initrd File Systems. [ OK ] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [ OK ] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [ OK ] Stopped Cleaning Up and Shutting Down Daemons. [ OK ] Stopped dracut pre-pivot and cleanup hook. Stopping dracut pre-pivot and cleanup hook... [ OK ] Stopped target Initrd Default Target. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target System Initialization. Stopping udev Kernel Device Manager... [ OK ] Stopped target Swap. [ OK ] Stopped target Slices. [ OK ] Stopped target Sockets. [ OK ] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [ OK ] Stopped target Timers. [ OK ] Stopped target Local File Systems. Starting Plymouth switch root service... [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Remote File Systems (Pre). [ OK ] Stopped dracut initqueue hook. Stopping dracut initqueue hook... [ OK ] Stopped udev Coldplug all Devices. Stopping udev Coldplug all Devices... [ OK ] Stopped udev Kernel Device Manager. snip Welcome to CentOS Linux 7 (Core)!
[ OK ] Stopped Switch Root. [ OK ] Stopped Journal Service. Starting Journal Service... [ OK ] Reached target Local Encrypted Volumes. [ OK ] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. Mounting Debug File System... [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Stopped target Switch Root. [ OK ] Stopped target Initrd File Systems. [ OK ] Stopped target Initrd Root File System. [ OK ] Stopped File System Check on Root Device. Stopping File System Check on Root Device... [ OK ] Listening on udev Kernel Socket. [ OK ] Created slice system-getty.slice. Starting Read and set NIS domainname from /etc/sysconfig/network... Starting Collect Read-Ahead Data... [ OK ] Listening on Delayed Shutdown Socket. Mounting POSIX Message Queue File System... [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Reached target Remote File Systems. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on udev Control Socket. Starting Create list of required st... nodes for the current kernel... [ OK ] Reached target Paths. Starting Replay Read-Ahead Data... [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Journal Service. [ OK ] Started Collect Read-Ahead Data. [ OK ] Started Replay Read-Ahead Data. [ OK ] Started Read and set NIS domainname from /etc/sysconfig/network. [ OK ] Started Create list of required sta...ce nodes for the current kernel. Starting Remount Root and Kernel File Systems... Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... [ 17.296550] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) [ OK ] Started Apply Kernel Variables. [ OK ] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Configure read-only root support... Starting Flush Journal to Persistent Storage... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load/Save Random Seed. [ 17.818547] systemd-journald[427]: Received request to flush runtime journal from PID 1 [ OK ] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Configure read-only root support. [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. [ 19.146181] cpu cpu0: failed to get clock: -2 [ 19.218261] cpufreq-dt: probe of cpufreq-dt failed with error -2 [ 19.708227] ehci-platform 1c1a000.usb: EHCI Host Controller [ 19.721852] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 19.740546] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 19.762241] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 19.775259] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.782236] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.789508] usb usb1: Product: EHCI Host Controller [ 19.794416] usb usb1: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.801926] usb usb1: SerialNumber: 1c1a000.usb [ 19.844670] hub 1-0:1.0: USB hub found [ 19.854212] hub 1-0:1.0: 1 port detected [ 19.868545] ehci-platform 1c1b000.usb: EHCI Host Controller [ 19.882930] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2 [ 19.901798] ehci-platform 1c1b000.usb: irq 27, io mem 0x01c1b000 [ 19.923267] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00 [ 19.936351] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 19.943225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 19.950493] usb usb2: Product: EHCI Host Controller [ 19.955399] usb usb2: Manufacturer: Linux 4.14.28-201.el7.centos.armv7hl ehci_hcd [ 19.962907] usb usb2: SerialNumber: 1c1b000.usb [ 20.008450] hub 2-0:1.0: USB hub found [ 20.019233] hub 2-0:1.0: 1 port detected [ OK ] Found device /dev/ttyS0. [ 20.253371] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 20.304553] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 20.350267] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 20.397887] usb 1-1: New USB device found, idVendor=05e3, idProduct=0718 [ 20.404808] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2 [ 20.412007] usb 1-1: Product: USB Storage [ 20.416058] usb 1-1: SerialNumber: 000000000033 [ 20.440034] sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz [ 20.492897] usb 2-1: New USB device found, idVendor=0424, idProduct=3503 [ 20.499823] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 20.523676] hub 2-1:1.0: USB hub found [ 20.535200] hub 2-1:1.0: 2 ports detected [ 20.626373] usb3503 usb-hub: Ports disabled with no control interface [ OK ] Found device /dev/disk/by-uuid/2CA3-F2A2. [ 20.760223] usb3503 usb-hub: switched to HUB mode [ 20.765030] usb3503 usb-hub: usb3503_probe: probed in hub mode [ OK ] Found device /dev/disk/by-uuid/13ad9f52-e2ca-4fd1-83d6-7b0af86a85df. Mounting /boot... [ 20.966073] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [FAILED] Failed to mount /boot. See 'systemctl status boot.mount' for details. [DEPEND] Dependency failed for Local File Systems. [DEPEND] Dependency failed for Relabel all filesystems, if necessary. [DEPEND] Dependency failed for Migrate local... structure to the new structure. [DEPEND] Dependency failed for /boot/fw. [ OK ] Reached target Timers. [ OK ] Reached target Network (Pre). [ OK ] Reached target Network. [ OK ] Reached target Network is Online. [ OK ] Reached target Login Prompts. Starting Crash recovery kernel arming... [ OK ] Reached target Sockets. Starting Import network configuration from initramfs... Starting Tell Plymouth To Write Out Runtime Data... [ OK ] Started Tell Plymouth To Write Out Runtime Data. [ OK ] Found device /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. Activating swap /dev/disk/by-uuid/1...1-f4bd-4db2-86d8-a802ceb87618... [ 21.646852] Adding 249852k swap on /dev/mmcblk0p3. Priority:-2 extents:1 across:249852k SSFS [ OK ] Activated swap /dev/disk/by-uuid/13b9fbb1-f4bd-4db2-86d8-a802ceb87618. [ OK ] Reached target Swap. [FAILED] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details. [ OK ] Started Import network configuration from initramfs. [ OK ] Started Emergency Shell. Starting Emergency Shell... [ OK ] Reached target Emergency Mode. Starting Create Volatile Files and Directories... [ 23.733719] random: crng init done [ 25.605825] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP813 found [ OK ] Started Create Volatile Files and Directories. Starting Security Auditing Service... [ 25.816033] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded [ OK ] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): [ 26.911598] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
[ 27.082356] ac100-rtc ac100-rtc: rtc core: registered rtc-ac100 as rtc0 [ 27.163368] ac100-rtc ac100-rtc: RTC enabled [ 27.272882] usb-storage 1-1:1.0: USB Mass Storage device detected [ 27.317836] scsi host0: usb-storage 1-1:1.0 [ 27.372202] usbcore: registered new interface driver usb-storage [ 27.510019] asoc-simple-card sound: dit-hifi <-> 1c21000.spdif mapping ok [ 27.516919] asoc-simple-card sound: ASoC: no DMI vendor name! [ 27.540329] usbcore: registered new interface driver uas
sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1) [ 31.615654] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities Welcome to emergency mode! After logging in, type "journalctl -xPress enter for maintenance(or type Control-D to continue): sulogin: failed to execute /bin/bash: Permission denied sulogin: failed to execute /bin/sh: Permission denied Can not execute su shell
That sounds like a corrupted sd card. WRT installing the kernel, you can go back to this mail https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html from a few days ago.
Pablo.
My steps with CentOS on Cubietruck Plus:
CentOS is running: [root@localhost ~]# uname -a Linux localhost 4.17.6-200.el7.armv7hl #1 SMP Thu Aug 9 19:50:34 UTC 2018 armv7l armv7l armv7l GNU/Linux [root@localhost ~]#
but no ethernet:
[root@localhost ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever [root@localhost ~]#
and only 1 Processor was find:
[root@localhost ~]# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5
Hardware : Allwinner sun8i Family Revision : 0000 Serial : 32c000011401d589 [root@localhost ~]#
[root@localhost ~]# more /etc/dracut.conf.d/kernel.conf add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek ax p20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" [root@localhost ~]#
Any help to activate all CPUs and Ethernet?
Thanks Andreas
El 20/8/18 a las 12:45, arm_ml@rirasoft.de escribió:
My steps with CentOS on Cubietruck Plus:
CentOS is running: [root@localhost ~]# uname -a Linux localhost 4.17.6-200.el7.armv7hl #1 SMP Thu Aug 9 19:50:34 UTC 2018 armv7l armv7l armv7l GNU/Linux [root@localhost ~]#
but no ethernet:
[root@localhost ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever [root@localhost ~]#
and only 1 Processor was find:
[root@localhost ~]# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 48.00 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5
Hardware : Allwinner sun8i Family Revision : 0000 Serial : 32c000011401d589 [root@localhost ~]#
[root@localhost ~]# more /etc/dracut.conf.d/kernel.conf add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek ax p20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" [root@localhost ~]#
Any help to activate all CPUs and Ethernet?
Andreas, where did you get that kernel from? this is the one I built with those patches backported https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/4.17.6-2...
El 20/8/18 a las 15:57, Iván Chavero escribió:
I had to apply some patches to the sunxi kernel that were pending to be merged upstream in order to have SMP and HDMI running. I also had to patch the kernel's dtb for the HDMI running (i've been to lazy to send the patch to the kernel list), if you need it i can upload this code to github or i can pack you a kernel+initramfs for you to use it with your cubieboard5 Cheers, Ivan
Ivan, that kernel has both smp and your patch included ;-). Either way, I'll try to update to 4.18 in a few days.
Let me know if i can help, i have my cubieboard5 clusters running if there's need for testing and other stuff.
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
Hello Pablo, Iván,
thank you very much for your work. With this kernel everything seems to work: 8CPUs, Ethernet, USBtoSATA, not tested: HDMI
I'm now in the process to copy everything from SD-Card to the onboard EMMC, so I can boot from it.
With your work I have a powerfull device.
Thanks Andreas
(thinking what can I do with the cubietruck plus: Time-Server (DCF77) ? DNS-Server? Pi-Hole? ...?)
PS: sometimes I get these messages in the syslog: [ 286.918766] usb usb2-port1: attempt power cycle [ 287.295335] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 288.193314] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 289.033322] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 289.873370] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 290.713280] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 291.344084] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
No USB-Device plugged in.
<snip>
Hello Pablo, Iván,
thank you very much for your work. With this kernel everything seems to work: 8CPUs, Ethernet, USBtoSATA, not tested: HDMI
I'm now in the process to copy everything from SD-Card to the onboard EMMC, so I can boot from it.
With your work I have a powerfull device.
That is great news!!
Thanks Andreas
(thinking what can I do with the cubietruck plus: Time-Server (DCF77) ? DNS-Server? Pi-Hole? ...?)
PS: sometimes I get these messages in the syslog: [ 286.918766] usb usb2-port1: attempt power cycle [ 287.295335] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 288.193314] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 289.033322] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 289.873370] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 290.713280] ehci-platform 1c1b000.usb: port 1 reset error -110 [ 291.344084] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
No USB-Device plugged in.
There is an internal usb hub, and the usb-sata adapter, so maybe it is one of those. Is your PS enough (my personal minimum is 3A).
Pablo.
Am 2018-08-07 12:23, schrieb Pablo Sebastián Greco:
<snip> > > Hello Pablo, > > I've bought this device 1 or 2 years ago, but didn't find any good OS > (Fedora, CentOS) for that. How to get this board with your kernel > running? Any tips or howto? > > I also have 2 Cubietruck 3 with CentOS. > Well, the easiest thing to do would be to just use Fedora Rawhide (current kernels have smp, ethernet, etc..., all but hdmi). WRT CentOS, I can think of two ways to do it, both require the kernels I mentioned earlier in the thread. 1) (Easier) - Prepare the image as if you where using your cubietruck 3 - boot that image and update (from the cubietruck 3) - activate the repo and install the kernel - change uboot to the cubietruck plus - shutdown and move the image/sd to the new device.
- (Harder)
- Prepare the image for the cubietruck plus - download the kernel rpms and copy them to the sd - boot the cubietruck plus with that image (it has no ethernet, no wifi, and most likely no hdmi, so you'll have to do it via a serial console) - login via console and manually install the kernel - reboot
For both metods (and also for Fedora), there may be modules that are not loaded into initramfs, which makes it panic at boot. I usually add this to a .conf file in /etc/dracut.conf.d/ add_drivers+=" phy-sun4i-usb sunxi-rsb axp20x-rsb axp20x-regulator axp20x-pek axp20x_ac_power axp20x_battery axp20x_usb_power axp288_fuel_gauge ac100 rtc-ac100" Some may not be needed anymore, and some may not be needed at all, but hey, it works for me ;)
One last thing that also applies to Fedora and CentOS, you may notice that you get a random MAC for the ethernet every time you boot, you can fix that by adding "MACADDR=<mac>" to /etc/sysconfig/network-scripts/ifcfg-eth0
HTH.
Pablo.
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Pablo, I've managed to boot this device with CentOS. With the kernel from the CentOS Image (4.14.28-201.el7.centos.armv7hl) there is only 1 CPU, Ethernet is not working, SATA is working.
With the kernel kernel-4.17.6-200.el7.armv7hl.rpm from you the system boots up, but can't find the Disc/SD-Card.
U-BooL 208.0-rc1 (Jul 3 28 12:18:07 +0 248 Mirying to bor
U-Bot 218.09 31 2018 - 12:18:07 +00) Allwinner Technology
del: Cubietech Cubietruck Plus I2C: rea DRAM 2 GiB MMC: SSD , SUNXI SD/MMC:1Lovirom F.. 1:2. ailed (-In: seri: serial Er: al NNo rnd. starting B. t nt vailable. USB1: faedto usb@01c1a00usb PHoravaU a get b@01b00usbY stop autobt: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 1288 bytes read in 41 ms (30.3 KiB/s) Ignoring unknown command: ui Ignoring malformed menu command: autoboot Ignoring malformed menu command: hidden Ignoring unknown command: totaltimeout Ignoring unknown command: default=CentOS-Userland-7-armv7hl-generic-Minimal-1804 CentOS-Userland-7-armv7hl-generic-Minimal-1804 Boot Options. 1: CentOS Linux (4.17.6-200.el7.armv7hl) 7 (Core) 2: CentOS-Userland-7-armv7hl-generic-Minimal-1804 (4.14.28-201.el7.centos.armv7hl) 3: single Enter choice: 1: CentOS Linux (4.17.6-200.el7.armv7hl) 7 (Core) Retrieving file: /initramfs-4.17.6-200.el7.armv7hl.img 44622648 bytes read in 4624 ms (9.2 MiB/s) Retrieving file: /vmlinuz-4.17.6-200.el7.armv7hl 6914560 bytes read in 800 ms (8.2 MiB/s) append: ro root=UUID=b7768fcb-885b-4240-89ec-ac336e8313f3 selinux=0 LANG=en_US.UTF-8 Retrieving file: /dtb-4.17.6-200.el7.armv7hl/sun8i-a83t-cubietruck-plus.dtb 21717 bytes read in 290 ms (72.3 KiB/s) ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 47571000, end 49fff338 ... OK Loading Device Tree to 47568000, end 475704d4 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.17.6-200.el7.armv7hl (mockbuild@armv7-01.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)) #1 SMP Fri Jul 13 06:36:44 UTC 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Cubietech Cubietruck Plus [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 64 MiB at 0xbc000000 [ 0.000000] random: fast init done [ 0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34572 r8192 d22772 u65536 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522560 [ 0.000000] Kernel command line: ro root=UUID=b7768fcb-885b-4240-89ec-ac336e8313f3 selinux=0 LANG=en_US.UTF-8 [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1950992K/2097152K available (8284K kernel code, 1329K rwdata, 3912K rodata, 2048K init, 505K bss, 80624K reserved, 65536K cma-reserved, 1245184K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (9277 kB) [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB) [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1330 kB) [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 506 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] ftrace: allocating 37457 entries in 74 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=8. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC physical location is 0x1c81000 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000023] Switching to timer-based delay loop, resolution 41ns [ 0.001283] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.002878] Console: colour dummy device 80x30 [ 0.003344] console [tty0] enabled [ 0.003422] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000) [ 0.003457] pid_max: default: 32768 minimum: 301 [ 0.003722] Security Framework initialized [ 0.003777] Yama: becoming mindful. [ 0.003837] SELinux: Disabled at boot. [ 0.003972] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.004005] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.005399] CPU: Testing write buffer coherency: ok [ 0.006133] /cpus/cpu@0 missing clock-frequency property [ 0.006175] /cpus/cpu@1 missing clock-frequency property [ 0.006201] /cpus/cpu@2 missing clock-frequency property [ 0.006226] /cpus/cpu@3 missing clock-frequency property [ 0.006254] /cpus/cpu@100 missing clock-frequency property [ 0.006283] /cpus/cpu@101 missing clock-frequency property [ 0.006312] /cpus/cpu@102 missing clock-frequency property [ 0.006345] /cpus/cpu@103 missing clock-frequency property [ 0.006366] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.007160] Setting up static identity map for 0x40300000 - 0x403000a0 [ 0.008391] ARM CCI driver probed [ 0.008914] sunxi multi cluster SMP support installed [ 0.009760] Hierarchical SRCU implementation. [ 0.015112] EFI services will not be available. [ 0.016057] smp: Bringing up secondary CPUs ... [ 0.017534] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.019138] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.020556] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.022101] CPU4: thread -1, cpu 0, socket 1, mpidr 80000100 [ 0.023751] CPU5: thread -1, cpu 1, socket 1, mpidr 80000101 [ 0.025198] CPU6: thread -1, cpu 2, socket 1, mpidr 80000102 [ 0.026691] CPU7: thread -1, cpu 3, socket 1, mpidr 80000103 [ 0.026865] smp: Brought up 1 node, 8 CPUs [ 0.027001] SMP: Total of 8 processors activated (384.00 BogoMIPS). [ 0.027020] CPU: All CPU(s) started in SVC mode. [ 0.029833] devtmpfs: initialized [ 0.037615] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.038437] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.038496] futex hash table entries: 2048 (order: 5, 131072 bytes) [ 0.043157] pinctrl core: initialized pinctrl subsystem [ 0.045109] DMI not present or invalid. [ 0.045961] NET: Registered protocol family 16 [ 0.048321] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.049394] audit: initializing netlink subsys (disabled) [ 0.049869] audit: type=2000 audit(0.046:1): state=initialized audit_enabled=0 res=1 [ 0.051638] cpuidle: using governor menu [ 0.052150] No ATAGs? [ 0.052473] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.052514] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.053645] Serial: AMBA PL011 UART driver [ 0.078514] cryptd: max_cpu_qlen set to 1000 [ 0.083837] vgaarb: loaded [ 0.084965] SCSI subsystem initialized [ 0.085730] usbcore: registered new interface driver usbfs [ 0.085804] usbcore: registered new interface driver hub [ 0.086020] usbcore: registered new device driver usb [ 0.086504] pps_core: LinuxPPS API ver. 1 registered [ 0.086527] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.086571] PTP clock support registered [ 0.087010] EDAC MC: Ver: 3.0.0 [ 0.089156] NetLabel: Initializing [ 0.089185] NetLabel: domain hash size = 128 [ 0.089199] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.089304] NetLabel: unlabeled traffic allowed by default [ 0.089914] clocksource: Switched to clocksource arch_sys_counter [ 0.192514] VFS: Disk quotas dquot_6.6.0 [ 0.192686] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.204970] NET: Registered protocol family 2 [ 0.206112] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [ 0.206173] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.206272] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.206413] TCP: Hash tables configured (established 8192 bind 8192) [ 0.206656] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.206766] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.207485] NET: Registered protocol family 1 [ 0.208270] Unpacking initramfs... [ 2.928476] Freeing initrd memory: 43580K [ 2.939223] Initialise system trusted keyrings [ 2.939340] Key type blacklist registered [ 2.939645] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 2.947744] zbud: loaded [ 2.950503] pstore: using deflate compression [ 4.371355] alg: No test for 842 (842-generic) [ 4.371544] alg: No test for 842 (842-scomp) [ 4.415595] NET: Registered protocol family 38 [ 4.415665] Key type asymmetric registered [ 4.415682] Asymmetric key parser 'x509' registered [ 4.415797] bounce: pool size: 64 pages [ 4.416012] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 4.416370] io scheduler noop registered [ 4.416394] io scheduler deadline registered [ 4.416667] io scheduler cfq registered (default) [ 4.416692] io scheduler mq-deadline registered [ 4.417362] atomic64_test: passed [ 4.425933] sun8i-a83t-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 4.435730] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 4.447542] dw-apb-uart 1c28000.serial: could not find pctldev for node /soc/pinctrl@1c20800/uart0-pb-pins, deferring probe [ 4.448419] Serial: AMBA driver [ 4.449388] msm_serial: driver initialized [ 4.449409] STMicroelectronics ASC driver initialized [ 4.452752] libphy: Fixed MDIO Bus: probed [ 4.453364] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.453409] ehci-pci: EHCI PCI platform driver [ 4.453491] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.453524] ohci-pci: OHCI PCI platform driver [ 4.453582] uhci_hcd: USB Universal Host Controller Interface driver [ 4.453922] usbcore: registered new interface driver usbserial_generic [ 4.453985] usbserial: USB Serial support registered for generic [ 4.454214] mousedev: PS/2 mouse device common for all mice [ 4.457474] device-mapper: uevent: version 1.0.3 [ 4.457971] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com [ 4.460597] ledtrig-cpu: registered to indicate activity on CPUs [ 4.461223] hidraw: raw HID events driver (C) Jiri Kosina [ 4.461523] usbcore: registered new interface driver usbhid [ 4.461542] usbhid: USB HID core driver [ 4.463340] ARM CCI_400_r1 PMU driver probed [ 4.463900] drop_monitor: Initializing network drop monitor service [ 4.465030] Initializing XFRM netlink socket [ 4.466029] NET: Registered protocol family 10 [ 4.483710] Segment Routing with IPv6 [ 4.483903] mip6: Mobile IPv6 [ 4.483939] NET: Registered protocol family 17 [ 4.484378] ThumbEE CPU extension supported. [ 4.484416] Registering SWP/SWPB emulation handler [ 4.547625] registered taskstats version 1 [ 4.547735] Loading compiled-in X.509 certificates [ 4.890959] Loaded X.509 cert 'Fedora kernel signing key: 684e6d665bb65fb519df52db4680190e8ccb7e8b' [ 4.891247] zswap: loaded using pool lzo/zbud [ 4.907853] Key type big_key registered [ 4.922696] Key type encrypted registered [ 4.922757] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 4.922818] ima: Allocated hash algorithm: sha1 [ 4.942310] sun8i-a83t-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 4.964169] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A [ 5.930955] console [ttyS0] enabled [ 5.937536] hctosys: unable to open rtc device (rtc0) [ 5.942687] sr_init: No PMIC hook to init smartreflex [ 5.949285] usb2-vbus: disabling [ 5.952570] usb1-vbus: disabling [ 5.967550] Freeing unused kernel memory: 2048K [ 5.973095] Checked W+X mappings: passed, no W+X pages found [ 5.978795] rodata_test: test data was not read only [ 6.019036] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 6.038185] systemd[1]: Detected architecture arm. [ 6.043044] systemd[1]: Running in initial RAM disk.
Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)! [ 6.057092] systemd[1]: No hostname configured. [ 6.061717] systemd[1]: Set hostname to <localhost>. [ 6.067025] systemd[1]: Initializing machine ID from random generator. [ OK ] Created slice Root Slice. [ 6.381140] systemd[1]: Created slice Root Slice. [ 6.386050] systemd[1]: Starting Root Slice. [ OK ] Created slice System Slice. [ 6.398020] systemd[1]: Created slice System Slice. [ 6.403041] systemd[1]: Starting System Slice. [ OK ] Listening on udev Control Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Reached target Swap. [ OK ] Listening on Journal Socket. Starting Create list of required st... nodes for the current kernel... Starting Journal Service... Starting Setup Virtual Console... [ OK ] Reached target Slices. [ OK ] Reached target Local File Systems. [ OK ] Reached target Timers. [ OK ] Reached target Sockets. Starting dracut cmdline hook... Starting Apply Kernel Variables... [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Setup Virtual Console. [ OK ] Started Apply Kernel Variables. [ OK ] Started Journal Service. Starting Create Static Device Nodes in /dev... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started dracut cmdline hook. Starting dracut pre-udev hook... [ OK ] Started dracut pre-udev hook. Starting udev Kernel Device Manager... [ OK ] Started udev Kernel Device Manager. Starting udev Coldplug all Devices... Mounting Configuration File System... [ OK ] Started udev Coldplug all Devices. [ OK ] Mounted Configuration File System. Starting dracut initqueue hook... Starting Show Plymouth Boot Screen... [ OK ] Reached target System Initialization. [ OK ] Started Show Plymouth Boot Screen. [ 8.006967] ehci-platform: EHCI generic platform driver [ OK ] Reached target Paths. [ OK ] Reached target Basic System. [ 8.156216] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 8.250972] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 147.500901] dracut-initqueue[354]: Warning: dracut-initqueue timeout - starting timeout scripts [ 216.363666] dracut-initqueue[354]: Warning: dracut-initqueue timeout - starting timeout scripts [ 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. [ 147.500901] dracut-initqueue[354]: Warning: dracut-initqueue timeout - starting timeout scripts 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or directory dracut:/#
<snip> [ 147.500901] dracut-initqueue[354]: Warning: dracut-initqueue timeout - starting timeout scripts 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or directory dracut:/#
Andreas, that is exactly why I said what I said at the end of this mail https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html.
You need to create that file and then recreate initramfs for 4.17 or remove and reinstall the kernel.
HTH.
Pablo.
El mié, 15-08-2018 a las 07:05 -0300, Pablo Sebastián Greco escribió:
<snip>
[ 147.500901] dracut-initqueue[354]: Warning: dracut-
initqueue timeout - starting timeout scripts
216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does
not exist
Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-
ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a
USB stick or /boot
after mounting them and attach it to a bug report. dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or
directory
dracut:/#
Andreas, that is exactly why I said what I said at the end of this
mail https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html.
You need to create that file and then recreate initramfs for
4.17 or remove and reinstall the kernel.
I had to apply some patches to the sunxi kernel that were pending to be merged upstream in order to have SMP and HDMI running. I also had to patch the kernel's dtb for the HDMI running (i've been to lazy to send the patch to the kernel list), if you need it i can upload this code to github or i can pack you a kernel+initramfs for you to use it with your cubieboard5
Cheers,Ivan
El 19/8/18 a las 16:00, Iván Chavero escribió:
El mié, 15-08-2018 a las 07:05 -0300, Pablo Sebastián Greco escribió:
<snip> [ 147.500901] dracut-initqueue[354]: Warning: dracut-initqueue timeout - starting timeout scripts 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or directory dracut:/#
Andreas, that is exactly why I said what I said at the end of this mail https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html.
You need to create that file and then recreate initramfs for 4.17 or remove and reinstall the kernel.
I had to apply some patches to the sunxi kernel that were pending to be merged upstream in order to have SMP and HDMI running. I also had to patch the kernel's dtb for the HDMI running (i've been to lazy to send the patch to the kernel list), if you need it i can upload this code to github or i can pack you a kernel+initramfs for you to use it with your cubieboard5 Cheers, Ivan
Ivan, that kernel has both smp and your patch included ;-). Either way, I'll try to update to 4.18 in a few days.
Pablo.
El dom, 19-08-2018 a las 16:26 -0300, Pablo Sebastián Greco escribió:
El 19/8/18 a las 16:00, Iván Chavero escribió:
El mié, 15-08-2018 a las 07:05 -0300, Pablo Sebastián Greco escribió:
<snip> [ 147.500901] dracut-initqueue[354]: Warning: dracut- initqueue timeout - starting timeout scripts 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or directory dracut:/#
Andreas, that is exactly why I said what I said at the end of this mail https://lists.centos.org/pipermail/arm-dev/2018-August/00339 9.html.
You need to create that file and then recreate initramfs for 4.17 or remove and reinstall the kernel.
I had to apply some patches to the sunxi kernel that were pending to be merged upstream in order to have SMP and HDMI running. I also had to patch the kernel's dtb for the HDMI running (i've been to lazy to send the patch to the kernel list), if you need it i can upload this code to github or i can pack you a kernel+initramfs for you to use it with your cubieboard5 Cheers, Ivan
Ivan, that kernel has both smp and your patch included ;-). Either way, I'll try to update to 4.18 in a few days.
Let me know if i can help, i have my cubieboard5 clusters running if there's need for testing and other stuff.
Pablo. _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
El 20/8/18 a las 15:57, Iván Chavero escribió:
El dom, 19-08-2018 a las 16:26 -0300, Pablo Sebastián Greco escribió:
El 19/8/18 a las 16:00, Iván Chavero escribió:
El mié, 15-08-2018 a las 07:05 -0300, Pablo Sebastián Greco escribió:
<snip> [ 147.500901] dracut-initqueue[354]: Warning: dracut- initqueue timeout - starting timeout scripts 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or directory dracut:/#
Andreas, that is exactly why I said what I said at the end of this mail https://lists.centos.org/pipermail/arm-dev/2018-August/00339 9.html.
You need to create that file and then recreate initramfs for 4.17 or remove and reinstall the kernel.
I had to apply some patches to the sunxi kernel that were pending to be merged upstream in order to have SMP and HDMI running. I also had to patch the kernel's dtb for the HDMI running (i've been to lazy to send the patch to the kernel list), if you need it i can upload this code to github or i can pack you a kernel+initramfs for you to use it with your cubieboard5 Cheers, Ivan
Ivan, that kernel has both smp and your patch included ;-). Either way, I'll try to update to 4.18 in a few days.
Let me know if i can help, i have my cubieboard5 clusters running if there's need for testing and other stuff.
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
Thanks. Pablo.
El lun, 20-08-2018 a las 16:06 -0300, Pablo Sebastián Greco escribió:
El 20/8/18 a las 15:57, Iván Chavero escribió:
El dom, 19-08-2018 a las 16:26 -0300, Pablo Sebastián Greco escribió:
El 19/8/18 a las 16:00, Iván Chavero escribió:
El mié, 15-08-2018 a las 07:05 -0300, Pablo Sebastián Greco escribió:
<snip> [ 147.500901] dracut-initqueue[354]: Warning: dracut- initqueue timeout - starting timeout scripts 216.366273] dracut-initqueue[354]: Warning: Could not boot. [ 217.381286] dracut-initqueue[354]: Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec-ac336e8313f3 does not exist Starting Dracut Emergency Shell... Warning: /dev/disk/by-uuid/b7768fcb-885b-4240-89ec- ac336e8313f3 does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
dracut:/# ls -l /dev/disk/by-uuid/ ls: cannot access /dev/disk/by-uuid/: No such file or directory dracut:/#
Andreas, that is exactly why I said what I said at the end of this mail https://lists.centos.org/pipermail/arm-dev/2018-August/0 0339 9.html.
You need to create that file and then recreate initramfs for 4.17 or remove and reinstall the kernel.
I had to apply some patches to the sunxi kernel that were pending to be merged upstream in order to have SMP and HDMI running. I also had to patch the kernel's dtb for the HDMI running (i've been to lazy to send the patch to the kernel list), if you need it i can upload this code to github or i can pack you a kernel+initramfs for you to use it with your cubieboard5 Cheers, Ivan
Ivan, that kernel has both smp and your patch included ;-). Either way, I'll try to update to 4.18 in a few days.
Let me know if i can help, i have my cubieboard5 clusters running if there's need for testing and other stuff.
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
I will and report on this thread, thanks!
Thanks. Pablo. _______________________________________________ Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 08/22/2018 04:38 PM, Iván Chavero wrote:
El lun, 20-08-2018 a las 16:06 -0300, Pablo Sebastián Greco escribió:
<snip>
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
I will and report on this thread, thanks!
OK Guys,
I bought a Cubieboard5 a very long time ago to test on CentOS-7. Years later, it finally works :).
I worked with Pablo to test his 4.17.17 kernel, using this thread, specifically this post:
https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html
I am happy to say that I now have it working now.
My only real issues were:
1. The '/etc/sysconfig/network-scripts/ifcfg-link.sh' needing to be deleted and a permanent MACADDR added. This post by Robert used to Delete the ifcfg-link.sh and I created a static IP with a MACADDR:
https://lists.centos.org/pipermail/arm-dev/2018-August/003366.html
(don't forget to edit ifcfg-eth0.sh and change HWADDR= to MACADDR=)
2. I am getting a usb bus hang .. it normally takes about 5 minutes for the bus to reset, then everything seems to be OK.
After setting everything up, I did try using the latest Fedora 29 Cubieboard5 u-boot-sunxi-with-spl.bin. That one did not fix either the MACADDR issue or the usb bus hang.
Thanks, Johnny Hughes
On 08/26/2018 06:05 AM, Johnny Hughes wrote:
On 08/22/2018 04:38 PM, Iván Chavero wrote:
El lun, 20-08-2018 a las 16:06 -0300, Pablo Sebastián Greco escribió:
<snip>
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
I will and report on this thread, thanks!
OK Guys,
I bought a Cubieboard5 a very long time ago to test on CentOS-7. Years later, it finally works :).
I worked with Pablo to test his 4.17.17 kernel, using this thread, specifically this post:
https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html
I am happy to say that I now have it working now.
My only real issues were:
- The '/etc/sysconfig/network-scripts/ifcfg-link.sh' needing to be
deleted and a permanent MACADDR added.
I have not deleted my ifcfg-link script (mine does not have the .sh extension?) I just made the eth0
But then I have cubie 2 and 3 (truck).
This post by Robert used to Delete the ifcfg-link.sh and I created a static IP with a MACADDR:
https://lists.centos.org/pipermail/arm-dev/2018-August/003366.html
(don't forget to edit ifcfg-eth0.sh and change HWADDR= to MACADDR=)
Per the Network Manager list:
nmcli con mod $ifname ethernet.cloned-mac-address "$your_mac"
We did have an interesting discussion on the historical origin of these names and why they will remain as they are.
- I am getting a usb bus hang .. it normally takes about 5 minutes for
the bus to reset, then everything seems to be OK.
After setting everything up, I did try using the latest Fedora 29 Cubieboard5 u-boot-sunxi-with-spl.bin. That one did not fix either the MACADDR issue or the usb bus hang.
Are you running on a sata drive with only uboot on the uSD card? I would like to know how sata performance is. Does it even boot (given your usb hang issue) from sata? I remember way back Hans working on getting usb sata (in general) boot working for Allwinner, but I never tested the later uboot versions.
Thanks, Johnny Hughes
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
On 08/26/2018 05:21 AM, Robert Moskowitz wrote:
On 08/26/2018 06:05 AM, Johnny Hughes wrote:
On 08/22/2018 04:38 PM, Iván Chavero wrote:
El lun, 20-08-2018 a las 16:06 -0300, Pablo Sebastián Greco escribió:
<snip>
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
I will and report on this thread, thanks!
OK Guys,
I bought a Cubieboard5 a very long time ago to test on CentOS-7. Years later, it finally works :).
I worked with Pablo to test his 4.17.17 kernel, using this thread, specifically this post:
https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html
I am happy to say that I now have it working now.
My only real issues were:
- The '/etc/sysconfig/network-scripts/ifcfg-link.sh' needing to be
deleted and a permanent MACADDR added.
I have not deleted my ifcfg-link script (mine does not have the .sh extension?) I just made the eth0
no '.sh' , that is the hazard of doing things from memory at 5am and not looking in the actual directory :)
I deleted my file after deleting the connection .. no need for spare / extra files in /etc/sysconfig/network-scripts/ to confuse me later.
But then I have cubie 2 and 3 (truck).
This post by Robert used to Delete the ifcfg-link.sh and I created a static IP with a MACADDR:
https://lists.centos.org/pipermail/arm-dev/2018-August/003366.html
(don't forget to edit ifcfg-eth0.sh and change HWADDR= to MACADDR=)
Per the Network Manager list:
nmcli con mod $ifname ethernet.cloned-mac-address "$your_mac"
We did have an interesting discussion on the historical origin of these names and why they will remain as they are.
- I am getting a usb bus hang .. it normally takes about 5 minutes for
the bus to reset, then everything seems to be OK.
After setting everything up, I did try using the latest Fedora 29 Cubieboard5 u-boot-sunxi-with-spl.bin. That one did not fix either the MACADDR issue or the usb bus hang.
Are you running on a sata drive with only uboot on the uSD card? I would like to know how sata performance is. Does it even boot (given your usb hang issue) from sata? I remember way back Hans working on getting usb sata (in general) boot working for Allwinner, but I never tested the later uboot versions.
I am currently using just the uSD card on the cubietruck_plus .. I do have a 5400 2.5" sata on a cubieboard3 .. but I boot from uSD on there too .. and just mount in the sata drive for /home
But, I am not doing anything important on these test cards (I have a cubieboard3, cubieboad5, Raspberry Pi 2B, and Raspberry Pi 3B).
I basically only use these to test the new install images when we do point released and to run the t_functional suite (Prior to pushing updates):
https://github.com/CentOS/sig-core-t_functional
I also have an armhfp VM running on an aarch64 local machine using Fabian's guide:
https://www.arrfab.net/posts/2017/Sep/29/using-centos-7-armhfp-vm-on-centos-...
We are working on getting a couple armhfp VMs into our CI system so that I can do my normal Pre-Updates testing:
https://ci.centos.org/view/CentOS-Core/
Until we get some VMs rolled into the CI system, I run those preupdates tests locally.
So I can't really answer your question about the sata performance .. but I might consider buying a ssd and seeing what I can do with that at some point soon.
Can we not use the NAND/TSOP to boot / run on the cubieboards?
I have never tried this, as I really only use these to demo stuff at conferences or test the images and having them on a replaceable uSD card is very convenient and I don't have any performance needs.
Thanks, Johnny Hughes
On 08/26/2018 06:53 AM, Johnny Hughes wrote:
On 08/26/2018 05:21 AM, Robert Moskowitz wrote:
On 08/26/2018 06:05 AM, Johnny Hughes wrote:
On 08/22/2018 04:38 PM, Iván Chavero wrote:
El lun, 20-08-2018 a las 16:06 -0300, Pablo Sebastián Greco escribió:
<snip>
Iván, I didn't have time today to build 4.18 today, but I pushed 4.17.17, and it should appear here https://armv7.dev.centos.org/repodir/community-kernel-latest/kernel/ between today and tomorrow. It has smp for a83t (bananapi-m3 and cubieborard5) Your hdmi patch for cubieboard5. Some other fixes for R40.
It would be great if you could test it.
I will and report on this thread, thanks!
OK Guys,
I bought a Cubieboard5 a very long time ago to test on CentOS-7. Years later, it finally works :).
I worked with Pablo to test his 4.17.17 kernel, using this thread, specifically this post:
https://lists.centos.org/pipermail/arm-dev/2018-August/003399.html
I am happy to say that I now have it working now.
My only real issues were:
- The '/etc/sysconfig/network-scripts/ifcfg-link.sh' needing to be
deleted and a permanent MACADDR added.
I have not deleted my ifcfg-link script (mine does not have the .sh extension?) I just made the eth0
no '.sh' , that is the hazard of doing things from memory at 5am and not looking in the actual directory :)
I deleted my file after deleting the connection .. no need for spare / extra files in /etc/sysconfig/network-scripts/ to confuse me later.
OK. Makes sense. Since I have full steps.txt for each of my servers, I don't have THIS confusion problem.
But then I have cubie 2 and 3 (truck).
This post by Robert used to Delete the ifcfg-link.sh and I created a static IP with a MACADDR:
https://lists.centos.org/pipermail/arm-dev/2018-August/003366.html
(don't forget to edit ifcfg-eth0.sh and change HWADDR= to MACADDR=)
Per the Network Manager list:
nmcli con mod $ifname ethernet.cloned-mac-address "$your_mac"
We did have an interesting discussion on the historical origin of these names and why they will remain as they are.
- I am getting a usb bus hang .. it normally takes about 5 minutes for
the bus to reset, then everything seems to be OK.
After setting everything up, I did try using the latest Fedora 29 Cubieboard5 u-boot-sunxi-with-spl.bin. That one did not fix either the MACADDR issue or the usb bus hang.
Are you running on a sata drive with only uboot on the uSD card? I would like to know how sata performance is. Does it even boot (given your usb hang issue) from sata? I remember way back Hans working on getting usb sata (in general) boot working for Allwinner, but I never tested the later uboot versions.
I am currently using just the uSD card on the cubietruck_plus .. I do have a 5400 2.5" sata on a cubieboard3 .. but I boot from uSD on there too .. and just mount in the sata drive for /home
I was field testing uboot for Hans back at the time and was locally building my own uboot from his source. I have since long deleted all of that environment and Hans has moved on to other work.
But he DID get sata boot working with only uboot (no partitions allowed) and was working on a bug for usb boot. He did not get things like the wifi working and a few other odds and ends. Never checked in to see if later uboot maintainer finished up the work.
But, I am not doing anything important on these test cards (I have a cubieboard3, cubieboad5, Raspberry Pi 2B, and Raspberry Pi 3B).
I run all my servers on Cubies (well not my Samba which is ClearOS, and they don't have an arm image last I checked) That picture on the web site is my webserver, internal and external DNS servers, and backup (that I may move to my neighbor's, as I have ethernet running to his house). The 4th is a spare.
My mailserver is a Cubietruck. Antispam pretty much kills one processor, and that is why I am interested in the C5. I have limited my attachment size to 20MB. My wife complains, and I really need more cores so I can handle bigger attachments without slowing everything down. Well I/O would still be an issue and that is why the sata performance concern.
I basically only use these to test the new install images when we do point released and to run the t_functional suite (Prior to pushing updates):
Hopefully now that you have C5 working with a new kernel, you will push out a new image so that it is 'easy' to use. Also an update to Centos of uboot-images with those in F29.
I also have an armhfp VM running on an aarch64 local machine using Fabian's guide:
https://www.arrfab.net/posts/2017/Sep/29/using-centos-7-armhfp-vm-on-centos-...
We are working on getting a couple armhfp VMs into our CI system so that I can do my normal Pre-Updates testing:
https://ci.centos.org/view/CentOS-Core/
Until we get some VMs rolled into the CI system, I run those preupdates tests locally.
So I can't really answer your question about the sata performance .. but I might consider buying a ssd and seeing what I can do with that at some point soon.
You can get a 100GB from ebay really cheap. Make sure it is 500ma, so it powers easily from the board that is powered by a 3A USB source. I use the ANKAR 40W to power 5 Cubies. 600ma seem to work ok. Not 1A drives.
Can we not use the NAND/TSOP to boot / run on the cubieboards?
I don't know anyway to move the uboot to NAND. If I were shown how, I would risk a C2. I mean it is not bad to tie up the uSD slot with uboot. I am not going to use it for anything else, and everything boots fast enough with all the partitions on sata.
I have never tried this, as I really only use these to demo stuff at conferences or test the images and having them on a replaceable uSD card is very convenient and I don't have any performance needs.
And with the Fedora-arm testing I do, I have a pile of uSD cards. I am using F29 as a source of openssl 1.1.1 for my EDDSA pki testing (https://github.com/rgmhtt/draft-moskowitz-ed25519-pki).
I need to finish this up before I work on my mailserver.
And 1.1.1 is a requirement for TLS 1.3, so I hope when it goes live, you port it to C7!
Thanks, Johnny Hughes
On 5. Aug 2018, at 07:09, Robert Moskowitz rgm@htt-consult.com wrote:
Or info on any other quad board.
thanks
Lots of RK3399 based boards are about to arrive this year [1]. The will probably have enough computing power and versatile storage options.
[1] https://forum.odroid.com/viewtopic.php?f=149&t=31277&start=100#p2306... https://forum.odroid.com/viewtopic.php?f=149&t=31277&start=100#p230663