Re: Help with Rock64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benson,

You helped me a lot!!!

Following Your suggestion, I've investigate over $TARGET and $MEDIA.

After writing sdcard with pine64-lts, inside usr/share/uboot/ (of sdcard) i can see rock64-rk3328 (my sbc), rockpro64-rk3399 and many other sbc not listed into arm-image-installer folder (/usr/share/arm-image-installer/boards.d/)!!!!!!!!

So, rock64 is really supported by fedora (31, minimal, aarch64)!!!

Another interesting thing: if I create a file called rock64-rk3328 into my /usr/share/arm-image-installer/boards.d/ and set --target=rock64-rk3328, arm-image-installer executes IT!

So, next step: I've copied pine64-lts into rock64-rk3328.

One question: rock64-rk3328 folder does not have sunxi-spl.bin, but a file called idbloader.img. Should I 'dd' it insead of sunxi-spl.bin?

Following this link seems yes http://opensource.rock-chips.com/wiki_Boot_option

Seems needed to add some extra stuffs too (seek):

dd if=idbloader.img of=sdb seek=64
dd if=u-boot.itb of=sdb seek=16384

So, script become as follow:

# write uboot
echo "= Writing idbloader.img for $TARGET ...."
dd if=$PREFIX/usr/share/uboot/$TARGET/sidbloader.img of=$MEDIA bs=8k seek=64; sync
echo "= Writing u-boot FIT image for $TARGET ...."
dd if=$PREFIX/usr/share/uboot/$TARGET/u-boot.itb of=$MEDIA bs=8k seek=16384; sync; sleep 5
# set console for allwinner
SYSCON=ttyS0,115200


Tomorrow I'll try!


Thanks a lot for Your support.

Best regards,

Agharta



Il 11/11/19 16:21, Benson Muite ha scritto:

Hi Agharta,

I used an earlier Fedora release on Banana pro (after first using Fedora combined with a different kernel). It worked ok, but took a bit of time for the Arm image to support Banana pro.

On 11/11/19 4:04 PM, agharta82@xxxxxxxxx wrote:

Hi Benson

a) Yes, but I can't specify Rock64 as --target parameter.

"A number of Pine64 boards are supported, but you might use as a bass to get something for rock64" Can You explain me how? Is it possibile without manual recompilation, etc...? (see why in b) and c) )

There was a message earlier on the list that support had been added for rock 64. Thus you might be able to take the configuration for Pine64 and modify that for Rock 64, though can also wait. After installing the arm image installer, as indicated at https://fedoraproject.org/wiki/Architectures/ARM/Installation in a terminal I can type

$ls /usr/share/arm-image-installer/boards.d/

to get a listing of supported boards. Typing

$more /usr/share/arm-image-installer/boards.d/pinebook

gives settings for Pinebook, which are

# write uboot
echo "= Writing sunxi-spl.bin for $TARGET ...."
dd if=$PREFIX/usr/share/uboot/$TARGET/sunxi-spl.bin of=$MEDIA bs=8k seek=1; sync
echo "= Writing u-boot FIT image for $TARGET ...."
dd if=$PREFIX/usr/share/uboot/$TARGET/u-boot.itb of=$MEDIA bs=8k seek=5; sync; sleep 5
# set console for allwinner
SYSCON=ttyS0,115200

The commands for pine_h64, pine64_plus and pine64-lts are the same, so you might try these for your Rock 64.

b) Yes, an Armbian kernel....but I'd like to use a 'standard' kernel.

Ok.

c) Yes, is possibile, but i still prefer a community delivered rpm (and maintained).

Noted. Thanks for using and reporting where work is still required. Sorry cannot be much more help at present.

Thanks again for Your support.

Best regards,

Agharta



p
Il 09/11/19 10:09, Benson Muite ha scritto:

On 11/9/19 10:44 AM, agharta agharta wrote:

Hi Benson,

But CentOs 7 does not support PHP 7x for aarch64: i need to install nextcloud.... and PHP 7+ is required.

So, i've tried CentOs 8 stream too...but no luck....

Fedora 31 does support Rock64, as release notes says....so the question is simple: how to install Fedora 31 on rock64?

Should be simple, in theory.....

Many thanks.
Cheers,
Agharta

Hi Agharta,

a) If using a Fedora laptop/desktop, have you tried the ARM image installer:

https://fedoraproject.org/wiki/Architectures/ARM/Installation

A number of Pine64 boards are supported, but you might use as a bass to get something for rock64

b) The CentOS7 version you are using seems to use a kernel from Armbian. Maybe something similar (ARMRHEL) is needed for RHEL based distributions? At the moment the contributions seem to be haphazard, and driven by immediate needs rather than a long term vision. Perhaps an ARM roadmap for RHEL would be helpful in organizing development?

c) I have complied PHP 7 from source using GNU compilers. This was straight forward, so might be the way to go if you only need Nextcloud and do not need to many PHP extensions. When you need to update, just copy over the data directory in your Nextcloud installation.

Benson






Il sab 9 nov 2019, 07:47 Benson Muite <benson_muite@xxxxxxxxxxxxx> ha scritto:

On 11/7/19 11:53 AM, agharta agharta wrote:
>> Hi Peter,
>> Thank you for your support.
>>
>> Currently I'm trying to write fedora to sd card with this command:
>> fedora-arm-image-installer  --addconsole --image=Fedora-Minimal-31-1.9.aarch64.raw.xz
>> --media=/dev/sdd --resizefs
>>
>> So, at the end the tool tells me:
>>
>> = No U-boot will be written.
>> = No console listed for Mystery Board, adding default ttyS0,115200 .
>>
>> = Installation Complete! Insert into the Mystery Board and boot.
>>
>> And.....no console. (at 115200)
>> I think that this may be because "= No U-boot will be written."
>> Any way? should I pass a  --target=TARGET to commands? If yes, what should I insert in
>> TARGET?
>>
>> "I still need to update the documentation."
>> Do you already have the link?
>>
>> "Which wiki page? You mean the one on the pine64 wiki?"
>> This one: https://wiki.pine64.org/index.php/ROCK64_Software_Release
>>
>> Many thanks for Your patience.
>> Cheers,
>> Agharta
> Any news?
> Thanks

Hi Agharta,

Have you tried any other linux distributions (ideally rpm based)?

Regards,

Benson

> _______________________________________________
> arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux