summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-05-30palo v2.24 releaseHEADv2.24masterHelge Deller3-1/+8
Signed-off-by: Helge Deller <deller@gmx.de>
2023-05-30ipl: Fix debug option and initialize ok variableHelge Deller1-0/+8
The debug option lost the commandline, and initialize the "ok" variable to fix ramddisk loading. Signed-off-by: Helge Deller <deller@gmx.de>
2023-05-21palo v2.23 releasev2.23Helge Deller5-7/+16
Signed-off-by: Helge Deller <deller@gmx.de>
2023-05-10ipl: Speed up printing the IPL menu on C8000 workstationHelge Deller1-10/+22
It turned out, that calling the IODC to print a char to the console is incredibly slow when running on a C8000 workstation. Speed it up a lot by printing as many chars at once per call to firmware. Since new-line chars need to be replaced by \n\r, break all strings at this char. Signed-off-by: Helge Deller <deller@gmx.de>
2023-05-10ipl: Fix argument pointer in real64_call_asmHelge Deller1-1/+1
Fix the argument pointer (ap) when calling a 64-bit PDC/STI function. This fix is similiar to commit 6e3220ba3323 ("parisc: Fix argument pointer in real64_call_asm()") in the Linux kernel. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-09ipl: Enable FPU and remove workaroundsHelge Deller6-41/+32
It turns out, that the FPU isn't initialized by firmware, which is why the floating point instructions in libgcc's __udivdi3, __umoddi3 and __muldi3 routines simply hangs the machine. This patch enables the FPU at bootup and thus we can drop the current work-arounds. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-09palo v2.22 releasev2.22Helge Deller5-6/+20
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08ipl: Add trailing "/" when listing directoriesHelge Deller1-2/+6
If user runs "ls 6/var", then he actually wants the contents of directory /var. Add a trailing slash to make this happen. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08diskpart: Don't assume a Linux partition is an ext2 fsHelge Deller1-1/+1
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08ext2: Make error message human readableHelge Deller1-1/+1
Say so, if the partition doesn't hold an ext2 filesystem. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08ipl/palo: Fix partition detectionHelge Deller1-3/+3
Fix a bug where for partitions > 6 a wrong offset was used. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08palo: Add palo version in headerHelge Deller1-1/+1
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08ipl/ext2: Fix block calculation and close file handleHelge Deller1-3/+5
I missed one block offset calculation in ext3_extent_load_find(). In addition, close the ext2 file handle in ext2_close() when finished. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08ipl: Close file handles after usageHelge Deller1-0/+10
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-08ipl: Add fileio_close() function to close file handlesHelge Deller2-0/+15
The "list directory" function uses file handles to open the directories. Since there is a limited number of file handles available, add the fileio_close() function to free them up after usage. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05palo v2.21 releaseHelge Deller5-6/+16
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05ipl: Improve error message handling for seekread()Helge Deller2-7/+8
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05palo: Fix partition detection and support big drivesHelge Deller2-13/+18
The partition detection was broken on big drives. Use u64 addresses now, and print partition table like fdisk output. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05ipl: Abort early if we know we will not reach the blockHelge Deller1-0/+7
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05ipl: Add check to avoid __udivdi3 and __umoddi3 in palo ipl codeHelge Deller1-1/+3
Add a Makefile check to abort the make if we find those millicode routines in the palo binary. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05ipl: Avoid usage of 64-bit __udivdi3 millicode routine in ext2 codeHelge Deller1-6/+27
Avoid using millicode routines in the ext2 code by using a simplified bit-shifting mechanism to avoid u64 integer divisions. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-05ipl: Avoid usage of __umoddi3 and __udivdi3 when printing numbersHelge Deller1-5/+24
At palo boot time we don't have an exception handler installed yet. So we must avoid using __umoddi3 and __udivdi3 (which use floating point instructions). This is a trivial work-around to simply output all integer values which are bigger than 32-bit as hex-values only. For hex-printing we can use bitshifts which don't need to be emulated. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-04palo v2.20 releaseHelge Deller4-2/+11
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-04palo: Disable some debug infoHelge Deller1-2/+2
Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-04ipl: Allow to boot beyond the 2GB disk limit (on most machines)Helge Deller15-125/+150
Most newer-generation PA-RISC machines provide firmware support for the ENTRY_IO_BBLOCK_IN (ARG=16) PDC option which addresses sectors in terms of 2048 byte blocks. This feature overcomes the limitations of the old ENTRY_IO_BOOTIN (ARG=0) PDC option, which uses byte offsets and thus requires that boot files are located inside the first 2GB of the drive. This palo patch checks the IODC_FEATURES (byte 10) of the IODC block of the boot device, and if the rightmost bit is set, it will use the ENTRY_IO boot block input support. Palo will output at startup if the machines has the 2GB limitation: -> Boot limited to sectors below 2GB: YES/NO Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-04ipl: Use constants from pdc.hHelge Deller3-22/+14
Use the known constants from pdc.h instead of defining new constants. Signed-off-by: Helge Deller <deller@gmx.de>
2022-08-02ipl: Enhance "list partition" menu entry optionHelge Deller3-13/+25
When listing the files of a directory, append "/" to directory entries and append "@" to files which symlink other files. In addition it's now possible to enter "l 2/." to list entries of the root directory of the filesystem in partition #2. Listing entries depends that the filesystem is inside the first 2GB of the disk. Signed-off-by: Helge Deller <deller@gmx.de>
2022-05-30ipl: Add hex prefix when printing segement load addressHelge Deller1-1/+1
Signed-off-by: Helge Deller <deller@gmx.de>
2022-04-01palo v2.16 releasev2.16Helge Deller4-2/+9
Signed-off-by: Helge Deller <deller@gmx.de>
2022-04-01Fix palo to list all entries from the /boot directoryHelge Deller1-2/+7
I noticed that palo randomly doesn't list all available files in the /boot directory. This is caused by palo accessing non-aligned 32-bit words and due to the absense of unalignment fixup routines wrong values are returned for such words. This is what happens: The directory entry structure for ext2 is defined as: struct ext2_dir_entry_2 { __u32 inode; /* Inode number */ __u16 rec_len; /* Directory entry length */ __u8 name_len; /* Name length */ __u8 file_type; char name[EXT2_NAME_LEN]; /* File name */ The inode member is of type __u32, so the compiler will access it with a 32-bit load instruction. The problem here is, that this __u32 might not be word-aligned. We are in the bootloader which doesn't has an unalignment-handler, so depending on the CPU undefined values can be returned, mostly often zero. This patch fixes it by copying the directory entry to a naturally aligned struct before accessing it with word accesses. Fixes: 812b3b323186 ("Remove useless files from directory listing") Signed-off-by: Helge Deller <deller@gmx.de>
2021-01-30palo v2.15 releasev2.15Helge Deller5-6/+16
2020-12-29Fix manufacturing mode on C8000 commitHelge Deller1-18/+17
Signed-off-by: Helge Deller <deller@gmx.de>
2020-12-29Add "m" option to enable manufacturing mode on C8000Helge Deller1-8/+31
Add the hidden option "m" in the menu to turn on manufacturing mode on C8000 workstations. It's then enabl until next hard reset. Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
2020-12-29Remove useless files from directory listingJames Bottomley1-0/+10
The directory listing command 'l' currently shows deleted files plus other filetypes that couldn't possibly be booted. Eliminate deleted files and make it show only regular/symlink and directory entries. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2020-05-30palo v2.14 releasev2.14Helge Deller7-11/+22
2020-05-30Enable debian hardening flagsHelge Deller1-0/+2
Harden the palo usespace utilility. Happily the hardening flags don't have any effect when compiling the palo ipl bootloader. Suggested-by: Pierre-Elliott Bécue <peb@debian.org>
2020-05-30Update prebuilt palo.8 fileHelge Deller1-3/+3
The palo.8 file is rebuilt when help2man is installed, e.g. when building the palo debian package.
2020-05-30Switch to debhelper version 13Helge Deller2-2/+1
Suggested-by: Pierre-Elliott Bécue <peb@debian.org>
2020-05-30Improve palo man pageHelge Deller3-9/+13
Add better description in man page, add proper version printing in palo. Suggested-by: Pierre-Elliott Bécue <peb@debian.org>
2020-05-30Update PARISC Linux homepageHelge Deller3-7/+7
Website is now at https://parisc.wiki.kernel.org
2020-05-30Update some debian filesHelge Deller3-5/+4
Standards-Version to 4.5.0, drop Uploaders from control, use https links in debian/copyright Suggested-by: Pierre-Elliott Bécue <peb@debian.org>
2020-05-20palo v2.13 releaseHelge Deller4-3/+3
2020-05-20Update Standards-Version to 4.4.1, no changes requiredHelge Deller2-1/+2
2020-05-20rpm: Fix building rpm package on Fedora 30 via "make rpm"Helge Deller2-0/+3
2020-05-20changelog: Add entries for palo-2.13Helge Deller1-0/+10
2020-05-20ipl: Ensure no GCC builtins replace string functionsJeroen Roovers1-1/+1
With GCC 10, the ipl is built with the compiler overriding local definitions of some string functions, causing the ipl to trigger an HPMC. Fix this by setting the -fno-builtin compiler flag. Signed-off-by: Jeroen Roovers <jer@gentoo.org> Signed-off-by: Helge Deller <deller@gmx.de>
2019-10-21ipl: Reduce ext4 debug outputHelge Deller1-1/+1
Signed-off-by: Helge Deller <deller@gmx.de>
2019-09-10Update Standards-Version to 4.4.0, no changes requiredv2.12Helge Deller1-1/+2
2019-09-08Update debian standards format & fix lowercase in changelogHelge Deller2-4/+4
2019-09-05palo v2.12 releaseHelge Deller4-2/+13
2019-08-15pdc.h: Sync with pdc.h header from Linux kernelHelge Deller2-546/+232
Signed-off-by: Helge Deller <deller@gmx.de>
2019-08-15README: Update README fileHelge Deller1-13/+12
Signed-off-by: Helge Deller <deller@gmx.de>
2019-08-15Makefile: Allow make rpm to build rpm packageHelge Deller1-1/+1
Signed-off-by: Helge Deller <deller@gmx.de>
2019-08-05ext2: fix ext4 group cacheJames Bottomley1-1/+1
The ext4 group cache is truncated because the read that populates it is assuming ext2 fixed group size and not using the ext4 variable group size. This only shows up with large inode numbers because the read stops before their contents is read. The upshot is when you try to do ext2_iget() for an ext4 inode above a certain number it fails because the group descriptor is random junk. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-08-02iplboot: Drop debug info about entry start and number of segmentsHelge Deller1-1/+2
Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-31palo v2.11 releasev2.11Helge Deller4-2/+9
2019-07-31Reduce size for .bssJames Bottomley1-6/+15
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-21palo v2.10 releasev2.10Helge Deller4-2/+12
2019-07-07Update palo documentationJames Bottomley5-46/+132
Now that we support ext4 and palo within the boot label, update the documentation to reflect this. Also beef up the man page with examples and remove reference to palo in the gnu info system because it doesn't exist. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-07palo: place iplboot inside disk label if it's big enoughJames Bottomley2-7/+57
Ever since the widespread adoption of gpt and 4k emulation disks, we've been starting the first partition at sector 2048 instead of 63. Since we only need 512 sectors for iplboot, this offers the opportunity of placing iplboot directly inside the disk label. The way this patch works is that if no palo (F0) partition is found and the first partition starts high enough, initialise the disk with the ipl boot just below the first partition. If the disk isn't big enough, error out as previously and if an F0 partition is found, proceed as usual. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-07palo: add support for formatting as ext4James Bottomley1-2/+4
Now that iplboot can read ext4 filesystem, allow palo to create them with the palo --format-as=4 option. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-07iplboot: add ext4 supportJames Bottomley1-7/+173
For a read only filesystem, like iplboot, the only real additions for ext4 are allowing for extent based inodes and a variable group size. The current block transformation scheme simply goes from filesystem block offset to absolute partition block employing a caching scheme for the indirect inodes. We can follow a similar scheme for the extent tree based on depth, relying on the fact that linear block loading will optimally keep the cache at a given depth until it's not needed. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-07iplboot: update the ext2_fs.h headerJames Bottomley1-1/+41
A lot has changed in libext2fs since this header was last imported, but most of it is irrelevant to simply reading files from ext2/3, so only import the additional changes absolutely necessary for reading from an ext4 filesystem. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-07iplboot: eliminate unused struct bootfsJames Bottomley2-64/+29
It's only used locally in ext2.c to carry the blocksize, so make blocksize a static variable instead. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-03palo v2.01 releasev2.01Helge Deller4-3/+7
2019-07-03iplboot: Fix sprintf checkHelge Deller1-1/+1
Fix this warning: ipl.c: In function 'iplmain': ipl.c:644:33: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(kern_fullname, "%d%s", kern_part, kern_name); ^ ipl.c:644:5: note: 'sprintf' output between 2 and 139 bytes into a destination of size 128 Signed-off-by: Helge Deller <deller@gmx.de>
2019-07-03palo: fix IPL overlap with ext2/ext3 resize_inodeJames Bottomley1-2/+6
palo is producing corrupt filesystems because ext2 can't cope with any of the resize_inode, which is traditionally placed at blocks 3-258, being in the badblocks list. If this happens, mke2fs silently produces a corrupt filesystem image and the palo partition will eventually trigger a filesystem error. The fix is to force palo to specify -O^resize_inode to mke2fs which prevents ext2/3 from allocating a resize_inode (and thus prevents the filesystem from being resized). Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Helge Deller <deller@gmx.de>
2018-01-17Wire up help2man to create better man pageHelge Deller6-32/+125
Suggested-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Helge Deller <deller@gmx.de>
2018-01-17Recommend instead of suggest e2fsprogs in debian control file.Helge Deller2-1/+9
Signed-off-by: Helge Deller <deller@gmx.de>
2018-01-01palo v2.00 releasev2.00Helge Deller2-0/+13
2018-01-01Include palo version identifier in binary ipl codeHelge Deller5-6/+17
Increase palo to version 2.00 and put version marker in the binary ipl file.
2018-01-01Fix up boot messages with regard to newline behaviourHelge Deller4-34/+45
Our puts() implemenation behaved non-conforming to the standard, since we didn't added a newline after having printed the string. This leads to some strange behaviour, because gcc optimizes (and replaces) some printf() calls to puts() and dropped the trailing newline, which then wasn't added back by our puts() implementation. As such we were missing newlines although our printf() calls seemed correct. Fix it by rewriting puts() to behave as expected by the standard, and as such avoid such problems. The other solution could have been to add the -fno-builtin-printf gcc option but I prefer to conform to the standard. Signed-off-by: Helge Deller <deller@gmx.de>
2018-01-01Default to console=ttyS0 on rp34x0 machinesHelge Deller1-4/+8
Default again to console=ttyS0 for all machines, including the rp34x0. The Linux kernel commit bcf3f1752a62 ("parisc: Hide Diva-built-in serial aux and graphics card") avoids that the Diva AUX port on rp34x0 machines show up as ttyS0, and as such we now can use ttyS0 as boot console on all machines again. Signed-off-by: Helge Deller <deller@gmx.de>
2018-01-01Adjust column layout when printing partition tableHelge Deller1-1/+1
It was broken for hard discs which exceed 100GB. Signed-off-by: Helge Deller <deller@gmx.de>
2017-11-07Allow to override arRolf Eike Beer1-1/+1
Taken from Gentoo patch to palo. Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Helge Deller <deller@gmx.de>
2017-09-24Add missing periods to 1.98 and 1.99 changelog entriesJohn Paul Adrian Glaubitz1-4/+4
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Helge Deller <deller@gmx.de>
2017-08-18Update prebuilt binary IPL bootloader v1.99v1.99Helge Deller1-0/+0
Signed-off-by: Helge Deller <deller@gmx.de>
2017-08-18Reduce debug outputHelge Deller2-4/+4
Signed-off-by: Helge Deller <deller@gmx.de>
2017-08-18Update prebuilt binary IPL bootloader v1.99Helge Deller1-0/+0
2017-08-18Prepare for 1.99 releaseHelge Deller3-2/+10
Signed-off-by: Helge Deller <deller@gmx.de>
2017-08-18Prevent overwriting palo during kernel loadHelge Deller2-5/+37
Add code to prevent overwriting palo code and data unintentionally during load of a kernel. Improve debug output and add the hidden command "d" to toggle debug mode. Signed-off-by: Helge Deller <deller@gmx.de>
2017-08-18Improve warnings when failing to read kernel via TFTPHelge Deller1-6/+18
It seems the firmware boot loader code isn't able to load images via TFTP if those are bigger than 30MB. Instead it runs into timeouts and reports errors back to the palo bootloader. This patch detects such situations and prints a useful warning before rebooting. Signed-off-by: Helge Deller <deller@gmx.de>
2017-08-18Increase maximum kernel size to 100MBHelge Deller1-1/+1
When enabling UBSAN on the Linux kernel, the 64-bit kernel image can easily exceed 50MB and more. Increase the maximum size to 100MB to be on the safe side. Signed-off-by: Helge Deller <deller@gmx.de>
2017-05-30palo v1.98 release, fixes console on rp34x0 machinesv1.98Helge Deller6-3/+57
2017-01-26Build palo on amd64, i386, hppa and x32 only.v1.97John Paul Adrian Glaubitz3-8/+16
2017-01-21Prepare for 1.97 releaseHelge Deller4-3/+10
2017-01-21Build iplboot on all arches with hppa-cross-gccHelge Deller3-15/+5
Patch provided by Christoph Biedl <debian.axhn@manchmal.in-ulm.de> via debian bug report #851792
2016-10-09Adjust debian/changelog file, prepare for 1.96 releasev1.96Helge Deller1-4/+4
2016-10-08Really update prebuilt binary IPL bootloaderHelge Deller1-0/+0
2016-10-08Update prebuilt binary IPL bootloaderHelge Deller1-0/+0
Signed-off-by: Helge Deller <deller@gmx.de>
2016-10-08Update debian changelog for 1.96Helge Deller1-1/+3
2016-10-08Provide private implementation for calloc()Helge Deller1-0/+8
Newer toolchains don't seem to provide calloc any longer. Add a private one for the IPL boot loader instead. Signed-off-by: Helge Deller <deller@gmx.de>
2016-10-08Replace inline assembly which halts system by C codeHelge Deller1-2/+2
gcc-6 optimizes the code differently and thus creates duplicate symbols for the inline asm labels. Replace it by generic code, which isn't as good to debug, but we don't face this kind of boot bugs any longer either. Signed-off-by: Helge Deller <deller@gmx.de>
2016-10-08Unbreak loading Linux kernels bigger than 16 MBHelge Deller1-1/+1
Fix typo in PHYS() macro, which prevents the palo ipl boot loader to load kernels into memory regions which are above 16 MB. I noticed this bug, because of the test_rhashtable.c built-in kernel testcase. The old palo boot loader crashed/stopped while trying to load the linux kernel whith CONFIG_TEST_RHASHTABLE=y (built-in). Here is the palo output before this change: Entry 00100000 first 00100000 n 5 Segment 0 load 00100000 size 415968 mediaptr 0x1000 Segment 1 load 00166000 size 108928 mediaptr 0x67000 Segment 2 load 00200000 size 10786768 mediaptr 0x82000 Segment 3 load 00c4a000 size 3549016 mediaptr 0xacc000 Segment 4 load 00000000 size 17939000 mediaptr 0xe2f000 Notice the load address (zero) for segment #4. And here is the new palo output, with which palo sucessfully can boot the kernel: Entry 00100000 first 00100000 n 5 Segment 0 load 00100000 size 411512 mediaptr 0x1000 Segment 1 load 00165000 size 108928 mediaptr 0x66000 Segment 2 load 00200000 size 10782104 mediaptr 0x81000 Segment 3 load 00c49000 size 3545848 mediaptr 0xaca000 Segment 4 load 01000000 size 1938744 mediaptr 0xe2c000 Signed-off-by: Helge Deller <deller@gmx.de>
2015-02-18Update prebuilt binary IPL bootloaderHelge Deller1-0/+0
2015-02-18Add -fno-delete-null-pointer-checks compiler optionHelge Deller1-3/+1
Otherwise gcc-4.9 will miscompile the IPL bootloader since it will optimize out accesses to PAGE0
2015-02-18Checksum whole file and truncate output file before writingHelge Deller1-2/+2
2015-02-17Drop old unused files: .cvsignore, .depend, ChangesHelge Deller3-78/+0
2015-02-16Show http://www.parisc-linux.org instead of maintainer nameHelge Deller2-4/+4
2015-02-16Update pre-built iplboot bootloader codeHelge Deller1-0/+0
2015-02-16Make the build reproducible (closes #778437)Helge Deller5-8/+22
2015-02-16Update TODO fileHelge Deller1-4/+2
2014-06-09Control-U key deletes whole lineHelge Deller1-0/+11
While editing a boot parameter, the user can now use the Control-U key to delete the whole existing line and start over. Patch is originally from Randolph Chung <rchung42@gmail.com> from July 2007
2014-05-26Prepare for palo 1.96 releaseHelge Deller3-2/+2
2014-04-16Fix checks and docu for kernel command line lengthHelge Deller3-11/+11
We allow a maximum of 1023 characters for the kernel command line since quite some time already, but the runtime checks and the documentation didn't reflected that change yet.
2014-04-10IPL: Prefer to load 64bit kernel over 32bit kernelHelge Deller1-8/+8
The 64bit kernel is built with SMP (and stable nowadays), that way we can utilize and see all CPUs and all memory above 4GB.
2014-04-09Increase PALOHDRVERSION to 5.Helge Deller1-1/+1
Version 5 supports compressed kernels and kernel command lines up to 1023 characters.
2014-04-09Do not hardcode maximum allowed bootloader code size (256 KB)Helge Deller1-4/+4
2014-04-07Rephrase changelog entry for 1.95, drop redundant parts.John Paul Adrian Glaubitz1-3/+3
2014-04-06Update debian changelog entries for v1.95Helge Deller1-0/+8
2014-04-06palo version 1.95v1.95Helge Deller2-2/+2
2014-04-06Update pre-built iplboot bootloader codeHelge Deller1-0/+0
2014-04-06Revert "Provide pre-built README file to avoid dependency on lynx."Helge Deller2-289/+1
Unnecessary and it breaks build on hppa. This reverts commit ba637f0a5e7268df35f12b89b1443c9f4b3a42ff.
2014-04-05palo version 1.94v1.94Helge Deller2-2/+2
2014-04-05Update debian/changelog for palo 1.94.John Paul Adrian Glaubitz1-0/+20
2014-04-05Remove boiler plate comment and fix wording in debian/rules.John Paul Adrian Glaubitz1-10/+6
2014-04-04Provide pre-built README file to avoid dependency on lynx.Helge Deller2-1/+289
2014-04-04Provide endianess byteswapping functions for HP-UX.Helge Deller1-4/+20
2014-04-04Use printf("0x%08x") instead of printf("%p"), which is not supported onHelge Deller1-3/+3
HP-UX.
2014-04-04Do not hardcode gcc compiler in Makefile, e.g. on HP-UX aCC can be used.Helge Deller1-1/+1
2014-04-04Disable getopt library on HP-UXHelge Deller1-1/+4
2014-04-04Provide possibility to configure used MAKE tool via environmentHelge Deller1-9/+12
variable. Since palo requires GNU make this gives an option to set MAKE=gnumake on HP-UX
2014-04-02Fix build for Debian kfreebsd-i386 archHelge Deller3-7/+29
2014-03-31Fix compiler warnings: ignoring return value of 'write', declared with ↵Helge Deller2-2/+8
attribute warn_unused_result [-Wunused-result]
2014-03-28Drop file debian/doc-base since it is not used anymore.John Paul Adrian Glaubitz1-12/+0
2014-03-28Add missing license labels in files sections in debian/copyright.John Paul Adrian Glaubitz1-0/+2
2014-03-28Fix license text for GPL-2 license section in debian/copyright.John Paul Adrian Glaubitz1-5/+5
2014-03-28Fix license label for first files section in debian/copyright.John Paul Adrian Glaubitz1-1/+1
2014-03-28Fix typo in format section in debian/copyright.John Paul Adrian Glaubitz1-1/+1
2014-03-23Remove redundant mention of author for version 1.92 in debian/changelog.John Paul Adrian Glaubitz1-1/+0
2014-03-18- Prepare for reintroduction into Debian (palo v1.93)v1.93Helge Deller3-6/+13
2014-03-18Fix capitalization in package description in debian/control.John Paul Adrian Glaubitz1-3/+3
2014-03-18Remove usr/bin and usr/sbin from debian/dirs, they are empty.John Paul Adrian Glaubitz1-2/+0
2014-03-16Add debian/README.source to explain the version history of PALO.John Paul Adrian Glaubitz1-0/+17
2014-03-16Use dh to streamline debian/rules.John Paul Adrian Glaubitz1-85/+18
2014-03-16Remove empty lines at the end of debian/palo.prerm.John Paul Adrian Glaubitz1-2/+0
2014-03-16Clean up and re-format debian/README.Debian.John Paul Adrian Glaubitz1-2/+6
2014-03-16Rewrite debian/copyright in the new machine-readable format 1.0.John Paul Adrian Glaubitz1-9/+60
2014-03-16Rewrite package description, depend on debhelper 9 or higher.John Paul Adrian Glaubitz1-3/+7
2014-03-16Increase debhelper level from 5 to 9.John Paul Adrian Glaubitz1-1/+1
2014-03-16Clean up debian/changelog, document my changes to the package.John Paul Adrian Glaubitz1-121/+126
2014-01-12Fix debian warnings for preparation for inclusion into debian unstableHelge Deller7-20/+21
2013-10-29ignore path from e.g. 2/boot/vmlinux if file not foundHelge Deller2-4/+27
Some people don't understand, that 2/vmlinux means to load the vmlinux file from the second partition on the harddisk. Instead they use e.g. 2/boot/vmlinux, because the second partition is mounted under /boot in Linux. But PALO doesn't know anything about the mount points in Linux, so it expects 2/vmlinux instead. We now try to strip the path from the given filename if it wasn't found in the given directory. That way the kernel/initrd which people wanted to load will be loaded and we inform the people what they did wrong.
2013-10-29Drop CVS/RCS $Id tags - not useful in git.Helge Deller15-23/+0
2013-10-13set DH_COMPAT=5 to avoid some warnings.v1.92Helge Deller1-1/+1
2013-10-13Make myself the debian uploader.Helge Deller2-1/+2
2013-10-09Add pre-compiled iplboot (boot sector image) file.Helge Deller1-0/+0
2013-10-09New PALO version "1.92"Helge Deller3-3/+12
Update debian changelog, RPM spec file and palo header file.
2013-10-09Fix the main user interaction function to be able to handle upHelge Deller1-8/+22
to 1024 bytes of Linux kernel command line. It's important that we ensure that the user does not enter more than 40 (MAX_ARGV) different parameters. If 40 is too low, we can increase this value at any time, but we need to avoid accessing memory outside of the argv[] array. Each kernel parameter (fieldbuf) can now hold up to 200 characters instead of 79. As cleanups we have: - we don't need to pass over the original commandline, - we simplify some printf() calls and use puts instead.
2013-10-09Fix pdc_iodc_cout() function to be able to print out strings which areHelge Deller1-12/+16
longer than 512 bytes (which is sizeof(iodc_string)). The maximum of 512 bytes is a limit of the PDC IODC function, so if we want to print a longer string, we just split it up and print up to 512 characters each time.
2013-10-09printf() is now able to handle formatted strings of up to 4096 bytes.Helge Deller1-1/+1
There is no protection yet, if generated string is longer than 4096 bytes.
2013-10-09Bugfix: If the initial string passed to enter_text() was longer thanHelge Deller1-2/+10
maxchars characters, enter_text() may overwrite random memory outside of the string.
2013-10-09Increase command line length in bootsector from 127 to 1024 bytes.Helge Deller3-8/+13
A longer Linux kernel command line may help if you want to provide more and longer information to the kernel, e.g. for UUIDs of harddisks.
2013-07-20palo/palo.c:482:5: /usr/include/bits/fcntl2.h:50:24: error: call to ↵Jeroen Roovers1-1/+1
'__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments In file included from /usr/include/fcntl.h:296:0, from palo.c:16: In function 'open', inlined from 'do_formatted' at palo.c:482:5: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments Signed-off-by: Jeroen Roovers <jer@gentoo.org> Signed-off-by: Helge Deller <deller@gmx.de>
2013-07-20palo/paloio.c:64: warning: implicit declaration of function 'memcmp'Jeroen Roovers1-0/+1
I have been carrying this patch in the Gentoo repository[1] for quite a while now. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-boot/palo/files/palo-1.18-include.patch?view=log Add missing include for memcmp. Signed-off-by: Jeroen Roovers <jer@gentoo.org> Signed-off-by: Helge Deller <deller@gmx.de>
2013-07-06new palo version 1.91v1.91Helge Deller3-2/+12
2013-07-03- drop README file - it is generated out of README.htmlHelge Deller3-299/+52
- Add spec file for building RPM target, just run "make palo.rpm" - delete further files during "make clean"
2013-07-03Check against overflow of internal buffer.Helge Deller1-1/+6
Drop unnecessary and confusing debug info.
2013-07-03make myself maintainer for this debian packageHelge Deller1-1/+1
2013-07-02fix changelog entry.Helge Deller1-1/+1
2013-07-02make sure we print \r\n, not \n\rHelge Deller1-2/+3
2013-07-02drop debugging message about gzip uncompressed lengthHelge Deller1-1/+4
2013-07-02update debian changelog file for palo version 1.90.v1.90Helge Deller1-0/+11
2013-07-02The IPL boot loader sometimes drops a '\n' at the beginning of strings.Helge Deller1-1/+3
Try to fix this by more correctly implement strchr().
2013-07-02implement woraround for wrong ELF32 header of iplboot.Helge Deller2-1/+4
2013-07-02In order to avoid an ugly error message at runtime (during IPL loading) we needHelge Deller1-3/+5
to truncate 'count' length according to max device/file size if reading from uncompressed gzip image in memory.
2013-07-02Add comment that the zeros count is probably wrong. Needs fixing later.Helge Deller1-0/+1
2013-07-02Add support to read gzip-compressed Linux kernel images.Helge Deller15-68/+1400
gzip-decompressor (inflate.c) was taken from the sparc silo (with minor modifications).
2013-06-11Add boot menu option "x" to reset/reboot the machine.Helge Deller4-1/+34
This was useful for me when I booted a bootloader with an 64bit kernel, while the machine was only capable to run 32bit kernels.
2013-06-11drop unneeded variable.Helge Deller1-2/+0
2013-06-11Better detection of hppa-linux-gcc 32bit cross compiler (e.g. running on 64bitHelge Deller1-6/+19
kernel, but we want to produce a 32bit palo iplboot image).
2013-06-11add another sample line for NFSROOTHelge Deller1-0/+2
2013-06-11update PALOVERSION to 1.90Helge Deller1-1/+1
2013-06-06palo source code repository moved to ↵Helge Deller1-2/+2
http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git
2007-11-26fix irritating ftbfs on ia64 which wants __attribute_* macrosKyle McMartin2-1/+5
defined.
2007-09-12add git-repository info to source packageLaMont Jones1-0/+2
2007-09-121.15 was uploaded from CVS in error.v1.15LaMont Jones10-1028/+23
2006-12-15There's currently an artificial limit of 20MB on the size of a lifimage.Matthew Wilcox2-1/+5
Increase it to 800MB (the same as allowed for a CD-ROM) so we can boot kernels with grotesque amounts of debug data in them.
2006-06-20Give a little hint as to why palo -U fails for Thibaut's benefit.Kyle McMartin2-1/+8
2006-04-08uploading to debianv1.14Kyle McMartin1-0/+11
2006-04-03make ELF32 and ELF64 loaders more similiar, other small fixups,Helge Deller5-10/+12
it's now PALO version 1.14
2006-01-22fix build on SUSE 10Helge Deller1-0/+3
2006-01-09no more annoying nmu messages...Kyle McMartin1-0/+1
2006-01-0564-bit cleanliness is goodLaMont Jones2-4/+5
2006-01-05need __swab64 toov1.13LaMont Jones2-1/+12
2006-01-03debian changed package section, bootloarders go in adminKyle McMartin1-1/+1
2006-01-02include userspace sanitized ext2_fs.h from e2fsprogsKyle McMartin1-0/+646
2006-01-02fix ext2 and compile against newer linux-kernel-headersv1.12Kyle McMartin3-6/+32
2005-12-28update version & debian changelogv1.11Kyle McMartin2-1/+13
2005-12-28Revert LaMont's change, use change from Andreas.Kyle McMartin1-11/+0
2005-12-28Kill an annoying warning at build-time (incorrect implicit exit()).Kyle McMartin1-0/+1
2005-12-28Fake out some definitions so that ext2.c compiles. Once we get a workingKyle McMartin1-0/+8
version back in testing, I will sanitize the headers palo requires.
2005-12-28must specify sr register (3-bit field) when using ficKyle McMartin2-3/+3
2005-10-12update changelogv1.10LaMont Jones1-2/+3
2005-10-12cmdline length error was missing argsLaMont Jones1-1/+1
2005-08-01fix ftbfsLaMont Jones3-1/+17
2005-07-20repairs to work with and depend on linux-kernel-headers >= 2.6v1.9Paul Bame15-1519/+44
2005-05-23remove -fwritable-stringsv1.8Paul Bame3-2/+9
2005-04-04fix changelogPaul Bame1-2/+1
2005-01-28palo v1.7 - fixed "formatting as ext1" output on updates and improvedv1.7Grant Grundler4-15/+30
error reporting