Re: [OpenWrt-Devel] EFI images for x86

2019-06-06 Thread Dustin Howett
I've been running with some version or another of the EFI patches for
about six months now; sysupgrade works fine, and there aren't any
reboot or stability issues that I've seen.
I'd be happy to contribute a review, especially if it helps EFI
support land in master. Is there any desire to move forward with this?

On Wed, Jun 5, 2019 at 3:33 AM Alberto Bursi  wrote:
>
>
> On 05/06/19 07:22, John Braley wrote:
>
> Also tested on an EFI only Asrock J5005-ITX. Builds, writes and boots fine. 
> However since it is not from 18.06 dev and is built from LEDE you really cant 
> do anything else with as luci wont install via opkg.
>
> If the commits can be pulled into openwrt-dev, I can test it on my Gigabit 
> connection.
>
> On Sun, Jun 2, 2019 at 7:59 AM Alberto Bursi  
> wrote:
>>
>> On Github there is a PR about adding EFI image generation
>
>
> I'm not sure about what you mean with "is built from LEDE".
>
> I built test images with luci, available here
>
> https://mega.nz/#F!HipgRIyS!_VxhEB5nqhU0rpmU4Rr8Tw
>
> since I have built them directly from the PR, you may or may not be
>
> able to install kernel-related packages from the repository.
>
> If you need specific packages in the test image I can include them.
>
> -Alberto
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [RFC 6/6] grub2: add preinit hook for bootloader upgrade

2019-01-16 Thread Dustin Howett
I'm somewhat apprehensive about this applying to all targets that consume GRUB2.

On x86 and x86_64 images, I believe sysupgrade lays down every
partition in the image over its equivalent already on the device.
Since the bootloader (MBR, presumably, for most x86 targets) lives in
the early part of the disk and chain-loads the later phase, does it
not suffice to update the grub2 core module on the boot patition?

A few questions, though:

* Should the grub2 install changes be part of a variant, or a
target-specific flag?
* Is reinstalling the bootloader after sysupgrade dangerous?
  * If there is a target that doesn't support BIOS boot, could using
grub-bios-setup cause problems for it?

Sorry if this message comes up out-of-order. I wasn't previously
subscribed to the list, and I have tried to craft the reply properly .
. .

Thanks,
-d

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Proposal: Differentiating "skinny" platforms from others... (resending)

2020-05-02 Thread Dustin Howett
I'm concerned about introducing a global configuration symbol that
changes the behavior of any individual package--right now, large- and
small-format devices share the same package feeds, and there's no
provision in opkg for package variant flags.

This suggests that we'd need to host a feed for skinny builds and a
feed for chonky builds, which would really increase storage, hosting
and buildbot demand.

On Sat, May 2, 2020 at 5:29 PM Philip Prindeville
 wrote:
>
> Wherever we can find common ground, I’m willing to go.
>
> I’ve worked on various projects that used OpenWRT in some atypical scenarios 
> (positioning radios, traffic shapers, home security hubs, etc).  I think it 
> gets used for a broader base of development than most people realize.  
> There’s a LOT downstream of it.
>
> -Philip
>
>
> > On May 2, 2020, at 5:51 PM, Lucas Ramage  wrote:
> >
> > I like that even better.
> >
> > OpenWrt has traditionally focused on embedded systems such as routers and 
> > the like. So these should be the default as you say.
> >
> > Then if I want to run OpenWrt on a larger machine, I can add the fat so to 
> > speak.
> >
> > On May 2, 2020 11:48:03 PM UTC, m...@adrianschmutzler.de wrote:
> >> Hi,
> >>
> >> just a single thought on this:
> >>
> >> For me, this quickly raised the question: What's normal and what's
> >> exceptional?
> >>
> >> Your proposal assumes that "huge" devices are normal (default), and
> >> skinny devices are the exception which has to be "marked".
> >>
> >> Why not the other way around? For standard, just keep the basic stuff,
> >> and then mark some targets/devices that have the capability to carry on
> >> extra work/duties...
> >>
> >> While I intentionally raise this question for a _general_ discussion,
> >> in practice "my proposal" actually would have some benefits:
> >> - While your proposal would mark all tiny devices/targets, I would just
> >> mark the "excessive" devices. So, with "my" solution there is no chance
> >> a tiny device is overlooked and broken by some package adding a lot of
> >> stuff to the upgrade. If on the other hand an "excessive" device is
> >> overlooked, no damage would be done.
> >> - Since this is about "extra features", and you seem to think about
> >> different categories, it makes more sense and would be easier to
> >> (specifically) mark the devices that would get those extra features,
> >> instead of marking a whole lot of other devices not getting them.
> >> - Your whole idea for me sounds like it's about "nice-to-have" stuff.
> >> Since the OpenWrt default is to provide the necessary minimum, the
> >> default config should also mirror this concept (again, thus marking the
> >> "extra").
> >>
> >> So, while I'm not sure whether I really like your idea in general, I'd
> >> create something like
> >>
> >> CONFIG_HUGE_FLASH
> >> CONFIG_EXTRA_MEMORY
> >>
> >> or whatever similar to mark the "big" devices if I had to.
> >>
> >> Best
> >>
> >> Adrian
> >>
> >>> -Original Message-
> >>> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org]
> >>> On Behalf Of Philip Prindeville
> >>> Sent: Samstag, 2. Mai 2020 23:54
> >>> To: OpenWrt Development List 
> >>> Subject: [OpenWrt-Devel] Proposal: Differentiating "skinny" platforms
> >> from
> >>> others... (resending)
> >>>
> >>> Hi all,
> >>>
> >>> We sometimes get into debates about whether certain functionality
> >> should
> >>> be allowed and oftentimes the gating factor is “will this fit in a
> >> skinny
> >>> platform” (i.e. something highly constrained, like 32MB of DRAM)?  I
> >> suppose
> >>> there’s a similar argument about what a “small footprint” machine has
> >> in
> >>> terms of Flash, as well.
> >>>
> >>> Some of us work with more current machines that are also more
> >> capable,
> >>> realizing that eventually machines with 32MB of DRAM and 128MB of
> >> Flash
> >>> will “age out” through failure and scarcity.
> >>>
> >>> By then we’ll have a new “normal” about what the minimum expectations
> >>> are, and the conversation will continue, but with different
> >> parameters.
> >>>
> >>> Understanding that the definition of a “skinny” machine isn’t today
> >> what it
> >>> was 5 years ago, and that it won’t be the same again in another 5
> >> years, I’d
> >>> like to proposal a CONFIG_ symbol that denotes that a platform is in
> >> a class of
> >>> constrained architectures.
> >>>
> >>> Or, conversely, that a platform doesn’t have to observe overly
> >> restrictive
> >>> constraints on “what will fit”.
> >>>
> >>> (The smallest router platform I own has 256MB of DRAM, an 2GB of
> >> Flash for
> >>> instance, and it’s a 12 years old PC Engines Alix 2D… most of the
> >> “current”
> >>> machines I have are AMD64 and have 64GB of DRAM and 32GB or more of
> >>> Flash… with 256GB being the median…)
> >>>
> >>> This would allow us to develop packaging that both fits into
> >> constrained
> >>> architectures, as well as targeting further along the evolving curve
> >> of “more
> >>> RAM,

realtek/rtl838x: regression in f909059b74 caused by procd segfault in libubox

2024-01-26 Thread Dustin Howett
I am seeing this on x86/64-glibc as well.

It looks like procd is falling over in udebug_entry_vprintf at the
*second* vprintf after udebug_buf_alloc.
This appears to occur when there are log messages longer than the
minimum allocation size (128) and we trip into the second allocation
pass.

Stack:
/lib/libc.so.6(+0xa3af6)[0x7fe807b8baf6]
/lib/libc.so.6(+0x5a6f1)[0x7fe807b426f1]
/lib/libc.so.6(_vsnprintf+0x4e)[0x7fe807b6110e]
/lib/libubox.so.202312041(udebug_entry_vprintf+0xa8)[0x7fe807d19e6c]
/lib/libubox.so.202312041(ulog+0xc0)[0x7fe807d18bed]
/sbin/procd.real(+0xacc4) [0x557134c1dcc4]
/lib/libubox.so.202312041(+0x74e2)[0x7fe807d174e2]
/lib/libubox.so.202312041(uloop_run_timeout+0x243)[0x7fe807d161d8]
/sbin/procd.real(main+0x14b)[0x557134c1b193]
/lib/libc.so.6(+0x27577)[0x7fe807b0f577]
/lib/libc.so.6(_libc_start_main+0x86)[0x7fe807b0f636]
/sbin/procd.real(_start+0x21)[0x557134c1b1d1]

d

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: realtek/rtl838x: regression in f909059b74 caused by procd segfault in libubox

2024-01-26 Thread Dustin Howett
> Please try the latest version.

It works! Thanks for the quick fix.

d

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel