We demonstrate the generation, spectral broadening and post-compression of second harmonic pulses using a thin beta barium borate (BBO) crystal on a fused-silica substrate as the nonlinear interaction medium. By combining second harmonic generation in the BBO crystal with self-phase modulation in the fused-silica substrate, we efficiently generate millijoule-level broadband violet pulses from a single optical component. The second harmonic spectrum covers a range from long wave ultraviolet (down to 310 nm) to visible (up to 550 nm) with a bandwidth of 65 nm. Subsequently, we compress the second harmonic beam to a duration of 4.8 fs with a pulse energy of 0.64 mJ (5 fs with a pulse energy of 1.05 mJ) using chirped mirrors. The all-solid free-space apparatus is compact, robust and pulse energy scalable, making it highly advantageous for generating intense second harmonic pulses from near-infrared femtosecond lasers in the sub-5 fs regime.