maemo-leste / bugtracker

Issue tracking repository
62 stars 3 forks source link

Create n900-uboot package #525

Open parazyd opened 3 years ago

parazyd commented 3 years ago

See https://github.com/maemo-leste/pine64-uboot for inspiration

20:45 <Pali> https://github.com/pali/0xFFFF
20:49 <Pali> parazyd: u-boot is stored in kernel mtd area together with kernel... so to safely update just u-boot you need to dump kernel mtd area to local file, update uboot in this local file and then flash
             local file back to the kernel mtd area
20:49 <Pali> kernel starts at fixed location 262144
20:50 <Pali> so before it is u-boot
20:50 <Pali> and via new patches in 0xFFFF you can play with dumping and flashing image
20:51 <Pali> I think now you have everything needed for updating u-boot from any OS which can access /dev/mtd*
20:52 <Pali> in 0xFFFF is also detection code if binary file is u-boot or zImage linux kernel
20:52 <Pali> so you can add similar check to detect if user has in kernel mtd area u-boot or not
20:53 <Pali> if it does not have u-boot it is zImage kernel... and it its size is less than maxsize - 262144 then you can "append" it into newly flashing uboot
20:53 <Pali> so user does not loose its kernel which is currently flashed
carlosgonz0 commented 10 months ago

Hello Devs I looking for a top version 202311of uboot for n900.

thanks.

IMbackK commented 10 months ago

upstream uboot dropped support for n900, there wont be any new versions, this isent really a problem.

carlosgonz0 commented 10 months ago

upstream uboot dropped support for n900, there wont be any new versions, this isent really a problem.

OooO Thanks i did not knowing, it is shame from uboot.

MerlijnWajer commented 10 months ago

@IMbackK - I think we should still make this pkg, we can take the last supported release and build it. The idea was that it would be easier for people to update. I guess it's not that important, but I don't think we'd need to close the issue per se... Don't know. :D