[opensuse-packaging] openSUSE ARMм7 BeagleBone Black experience
Hi Marcus and all, I was trying to set this up and now I am in stuck. I have a piece of this hardware and want to run openSUSE 13.1 on it. I've collected needed packages (with u-boot-am335xevm 2013.04) in home:matwey:beaglebone,. I took openSUSE:13.1:Ports/JeOS as a base. Fortunately, there even was JeOS-beaglebone.kiwi, but it was not built and published. I've found two thing regarding to u-boot setup (quite strange): 1. u-boot looks for dtb in /boot/, when dtb-s are installed into /boot/dtb (is it a bug?) 2. mmcboot command tries to boot the kernel with bootm command: mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr} - ${fdtaddr} when compressed zImage is installed and have to be booted with bootz command. After this issues had been fixed manually from u-boot console, I was able to boot the linux. Here is available full booting log: http://paste.opensuse.org/18807914 Booting is stuck on root partition waiting, easily something wrong with mmc card device driver, but I can not figure out what exactly. dtb-file seems to be correct, u-boot finds that it has to be am335x-boneblack.dtb Will appreciate any help. -- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp:0x2207@jabber.ru -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
В Вс, 29/12/2013 в 12:16 +0400, Matwey V. Kornilov пишет:
Hi Marcus and all,
I was trying to set this up and now I am in stuck. I have a piece of this hardware and want to run openSUSE 13.1 on it. I've collected needed packages (with u-boot-am335xevm 2013.04) in home:matwey:beaglebone,. I took openSUSE:13.1:Ports/JeOS as a base. Fortunately, there even was JeOS-beaglebone.kiwi, but it was not built and published.
I've found two thing regarding to u-boot setup (quite strange):
1. u-boot looks for dtb in /boot/, when dtb-s are installed into /boot/dtb (is it a bug?)
2. mmcboot command tries to boot the kernel with bootm command: mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr} - ${fdtaddr} when compressed zImage is installed and have to be booted with bootz command.
After this issues had been fixed manually from u-boot console, I was able to boot the linux. Here is available full booting log: http://paste.opensuse.org/18807914 Booting is stuck on root partition waiting, easily something wrong with mmc card device driver, but I can not figure out what exactly. dtb-file seems to be correct, u-boot finds that it has to be am335x-boneblack.dtb
Your log does not show any MMC driver at all (at least, none that produce any messages). You probably need mmc_block as well as one of host drivers (under drivers/mmc/host)
Will appreciate any help.
-- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp:0x2207@jabber.ru
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 29.12.2013 12:26, Andrey Borzenkov wrote:
Your log does not show any MMC driver at all (at least, none that produce any messages). You probably need mmc_block as well as one of host drivers (under drivers/mmc/host)
Yep, much worse is that there are no mmc in dts sources in kernel, afaiu which have to be obviously mapped to specific spi. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
29.12.2013 12:47, Matwey V. Kornilov пишет:
Yep, much worse is that there are no mmc in dts sources in kernel, afaiu which have to be obviously mapped to specific spi.
This is what I am talking about: https://github.com/torvalds/linux/commit/55b4452b4b7082ecf3cc2095bc21762a901... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
В Вс, 29/12/2013 в 18:49 +0400, Matwey V. Kornilov пишет:
29.12.2013 12:47, Matwey V. Kornilov пишет:
Yep, much worse is that there are no mmc in dts sources in kernel, afaiu which have to be obviously mapped to specific spi.
This is what I am talking about:
https://github.com/torvalds/linux/commit/55b4452b4b7082ecf3cc2095bc21762a901...
It says "compatibel omap_hsmmc" so you may try (to build) this driver. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
29.12.2013 19:24, Andrey Borzenkov пишет:
It says "compatibel omap_hsmmc" so you may try (to build) this driver.
Just added patches to dts, I want to see what will be different in kernel messages. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
29.12.2013 20:55, Matwey V. Kornilov пишет:
29.12.2013 19:24, Andrey Borzenkov пишет:
It says "compatibel omap_hsmmc" so you may try (to build) this driver.
Just added patches to dts, I want to see what will be different in kernel messages.
http://paste.opensuse.org/44173739 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
29.12.2013 12:16, Matwey V. Kornilov пишет:
1. u-boot looks for dtb in /boot/, when dtb-s are installed into /boot/dtb (is it a bug?)
2. mmcboot command tries to boot the kernel with bootm command: mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr} - ${fdtaddr}
Forget about it, It tried to boot from eMMC and there was preinstalled by vendor Angstrom and its u-boot. It is interesting that with SD card things were mixed up and neither Angstrom nor SD could boot. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Ok, I am able to boot with proper kernel and proper initrd: http://paste.opensuse.org/76652072 but there are kernel faults in several places. I suspect something wrong width dtbs. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
30.12.2013 21:48, Matwey V. Kornilov пишет:
http://paste.opensuse.org/76652072
but there are kernel faults in several places. I suspect something wrong width dtbs.
Having backported some kernel patches, ethernet issues were fixed. http://paste.opensuse.org/17353920 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Now I see something strange with system clock and issues with DMA again. http://paste.opensuse.org/42495326 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Dnia środa, 1 stycznia 2014 13:09:43 Matwey V. Kornilov pisze:
Now I see something strange with system clock and issues with DMA again.
Are you sure opensuse-packaging is the right places to discuss such obscure unrelated things? Worriedly, Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Krzysztof Żelechowski
-
Matwey V. Kornilov