Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide dd-able images of Maemo Leste #16

Closed
parazyd opened this issue Oct 19, 2017 · 20 comments
Closed

Provide dd-able images of Maemo Leste #16

parazyd opened this issue Oct 19, 2017 · 20 comments
Assignees

Comments

@parazyd
Copy link
Member

parazyd commented Oct 19, 2017

After we have the software in place for the three devices we're considering in #2 , it should be relatively easy to write a blend file for arm-sdk. This will allow us to host and provide dd-able images that people can use on their microsd cards.

For the blend(s) we can have a separate git repository with the actual blend file, kernel configs, and anything else that relates. (Also relates to #7 and #8 )

@parazyd parazyd self-assigned this Oct 20, 2017
@aapo
Copy link

aapo commented Jan 20, 2018

I think easiest way for new developer to try this out:
*Don't expect running/working/updated Fremantle, please (this means e.g. installed uboot)

  1. Download image.dd + corresponding kernel (maybe in the same tarball)
  2. dd image to the sd-card
  3. boot (one shot) or install (permanently) kernel with flasher (or 0xFFFFFF)

@MerlijnWajer
Copy link
Member

I think that's exactly right. We want dd-able images, that you can put on the sd card. Then you can either use u-boot of 0xFFFF to boot from SD card. Hopefully we'll have something ready in a week.

@MerlijnWajer
Copy link
Member

With the hildon-meta package in place, this should be ready soon.

@parazyd
Copy link
Member Author

parazyd commented Jan 26, 2018

Testing image for N900 is now live: http://maedevu.maemo.org/images/
Please try it out and report back, so we can fix any problems :)

@pkillnine
Copy link

I dd'd the image onto the sd card, but when i run run sdboot at the bootmenu, it loads the kernel but the screen is just blank (but lit up).

Is there a sample bootmenu entry to use?

@MerlijnWajer
Copy link
Member

Give us one or two more days. The specific issue you are seeing should be fixed in the latest image, but there are a few more things to fix before it will boot to a hildon-desktop.

@parazyd
Copy link
Member Author

parazyd commented Jan 26, 2018

I've just uploaded new images that should give you some console output at least on the N900 screen.

@pkillnine
Copy link

thanks, I can see now that it does successfully boot.

@MerlijnWajer
Copy link
Member

MerlijnWajer commented Jan 27, 2018

Latest image boots to hildon-desktop; with working keyboard (keymap) and touchscreen. We're working on making sure all the right init scripts boot. Powervr is also a bit bugged - it takes minutes to start hildon-desktop, but after that it is semi-usable. Any quick test runs would be cool.

@MerlijnWajer
Copy link
Member

Note: I did not test this on a non-develmode device yet, but it should work.

@MerlijnWajer
Copy link
Member

The latest image will now also work with lockswitch and other buttons if the meta package is upgraded (apt-get upgrade hildon-meta)

@pkillnine
Copy link

pkillnine commented Jan 27, 2018

The latest SD card image still reboots for me when it tries to load X.

I don't think I'm running develmode.

@MerlijnWajer
Copy link
Member

Yeah, so it takes a long time to start hildon-desktop, so dsme (I think) restarts the device. If you set the right flags with 0xFFFF, then it won't reboot.

@pkillnine
Copy link

What flags do I set and how do I set them?

@MerlijnWajer
Copy link
Member

I think I did this:

sudo ./0xFFFF -F no-lifeguard-reset,no-omap-wd,no-ext-wd

@pkillnine
Copy link

pkillnine commented Jan 27, 2018

Where do I run this? In the vanilla Maemo operating system?

Edit: note I just dd'd the img.xz file onto the SD card (after decompressing ofcourse)
Edit2:

<Wizzup> just use flasher with the exact command I mentioned
<Wizzup> but if you wait a day or two more we can hopefully fix the powervr issue that causes this

@MerlijnWajer
Copy link
Member

New images (up soon, parazyd will say when I guess) will no longer reboot: maemo-leste/dsme@01f6cb1

@MerlijnWajer
Copy link
Member

I think the latest images should boot on a N900 without any devel flags enabled with flasher. Be patient, it takes several minutes to start H-D because of PowerVR issues/bugs. After that, it should work OK (not super fast, but good enough for now).

If you need network become root (password is toor; or just sudo -i) and set password with wpa_supplicant tool. You should probably do this from a Linux machine instead:

wpa_supplicant ssid password >> /my/sd/mount/etc/wpa_supplicant/wpa_supplicant.conf and boot the N900 again. It should appear on the network as devuan.

@MerlijnWajer
Copy link
Member

Further info/instructions will follow on maemo-leste.github.com in the next few days (and also in issues of course)

@parazyd
Copy link
Member Author

parazyd commented Jan 30, 2018

Confirmed :)

https://github.com/maemo-leste/image-builder/blob/master/rootfs-overlay/n900/etc/network/if-pre-up.d/00mac will also now prevent MAC address randomization after the initial boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants