When trying qemu-x86_64 target with full disk image, grub wasn't able to
read the rootfs. After comparing it's config with the one used on my
notebook, I was able to get it right.
Apart from fixing the failure, this also enables serial output so grub
menu becomes accessible when calling qemu with -nographic option.
Signed-off-by: Phil Sutter <phil(a)nwl.cc>
---
package/grub/files/grub.cfg | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/grub/files/grub.cfg b/package/grub/files/grub.cfg
index d87a52cacced4..8d20ab2435180 100644
--- a/package/grub/files/grub.cfg
+++ b/package/grub/files/grub.cfg
@@ -1,8 +1,14 @@
+serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
+terminal_input serial
+terminal_output serial
+
set default=0
set timeout=3
menuentry "OpenADK" {
+ insmod part_msdos
+ insmod ext2
+ set root='hd0,msdos1'
echo "Loading OpenADK"
- set root=(hd0,2)
- linux (hd0,2)/boot/kernel root=/dev/sda2 rootfstype=ext4 rootwait panic=10
+ linux16 /boot/kernel root=/dev/sda1 rootfstype=ext4 rootwait panic=10
}
--
2.9.3
Therefore make the former select the latter.
Signed-off-by: Phil Sutter <phil(a)nwl.cc>
---
target/config/Config.in.rootfs | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs
index 096293e45f1b5..c24535f013617 100644
--- a/target/config/Config.in.rootfs
+++ b/target/config/Config.in.rootfs
@@ -163,6 +163,7 @@ config ADK_TARGET_ROOTFS_GENIMAGE
select ADK_KERNEL_EXT4_FS
select ADK_KERNEL_VFAT_FS
select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU
+ select ADK_TARGET_QEMU_WITH_BOOTLOADER if ADK_TARGET_QEMU
select ADK_HOST_BUILD_GENIMAGE
help
Create a complete disk image for the target with genimage.
--
2.9.3
Hi,
I updated the websites for my embedded linux projects today.
If you have any issues to access anything, please sent me an email.
I got bored by Trac and now static websites generated with hugo,
and gogs for wiki/issue/git is in use. The cgit interface and
mailman are still the same.
I switched to the faster git http backend for cloning via
http/https.
I moved on to new certbot and all websites are forced to https.
Some minor content (C library matric/ Debugging hints will be
added soon).
Thanks to Simone for my new black labrador logo abstracted from
a real photo of my dog.
best regards
Waldemar
Hi Diez,
Diez B. Roggisch wrote,
> Hi Maria, Waldemar,
^^o
> I’ve put the two different .config-files from respective builds in here:
>
> https://www.dropbox.com/s/bjedqw7890f6fml/kernelconfigs.tgz?dl=0
>
> They do indeed differ a lot, but see below for more conclusions.
>
>
>
> Can you please post the error message. This would help me to understand
> what
> exactly went wrong in this case.
>
>
> I don’t understand. I’ve postet the actual compiler error inline here, and the
> make.log via a shared Dropbox-link. What exact information do you miss?
Sorry, I dropped some information from the mail when adding Mario to
cc.
Unfortunately we have no mailinglist archives for dev(a)openadk.org,
as I had some misconfiguration of the mailing list.
I will bounce mario your first mail.
best regards
Waldemar